	.file	"extr_gpio-mlxbf.c_mlxbf_gpio_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed adding memory mapped gpiochip\n"
	.align 8
.LC1:
	.string	"registered Mellanox BlueField GPIO"
	.text
	.p2align 4
	.type	mlxbf_gpio_probe, @function
mlxbf_gpio_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	xor	esi, esi
	mov	rdi, r12
	mov	rbp, rax
	call	devm_platform_ioremap_resource@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR 8[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rcx, QWORD PTR MLXBF_GPIO_PIN_STATE[rip]
	push	0
	.cfi_def_cfa_offset 48
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, QWORD PTR MLXBF_GPIO_PIN_DIR_I[rip]
	add	rcx, rax
	add	rdx, rax
	add	rax, QWORD PTR MLXBF_GPIO_PIN_DIR_O[rip]
	push	rdx
	.cfi_def_cfa_offset 56
	mov	edx, 8
	push	rax
	.cfi_def_cfa_offset 64
	call	bgpio_init@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 32
	test	eax, eax
	je	.L5
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR THIS_MODULE[rip]
	mov	rdx, rbp
	mov	rsi, rbp
	mov	rdi, r12
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR MLXBF_GPIO_NR[rip]
	mov	DWORD PTR 0[rbp], eax
	call	devm_gpiochip_add_data@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L10
	mov	rsi, rbp
	mov	rdi, r12
	call	platform_set_drvdata@PLT
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mlxbf_gpio_probe, .-mlxbf_gpio_probe
	.comm	THIS_MODULE,4,4
	.comm	MLXBF_GPIO_PIN_STATE,8,8
	.comm	MLXBF_GPIO_PIN_DIR_O,8,8
	.comm	MLXBF_GPIO_PIN_DIR_I,8,8
	.comm	MLXBF_GPIO_NR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gpio-mlxbf.c_mlxbf_gpio_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed adding memory mapped gpiochip\012\000"
	.align	2
.LC1:
	.ascii	"registered Mellanox BlueField GPIO\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxbf_gpio_probe, %function
mlxbf_gpio_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	mov	r1, #12
	ldr	r2, [r3]
	sub	sp, sp, #24
	mov	r6, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L9
	mov	r1, #0
	mov	r0, r6
	bl	devm_platform_ioremap_resource
	str	r0, [r4, #8]
	bl	IS_ERR
	subs	r2, r0, #0
	bne	.L10
	ldr	r3, .L12+4
	ldr	r1, .L12+8
	ldr	ip, .L12+12
	ldr	r0, [r3]
	ldr	r1, [r1]
	ldr	r3, [r4, #8]
	ldr	ip, [ip]
	add	r0, r3, r0
	add	r1, r3, r1
	str	r0, [sp, #12]
	str	r2, [sp, #16]
	str	r2, [sp, #4]
	str	r2, [sp]
	str	r1, [sp, #8]
	mov	r2, #8
	mov	r1, r6
	mov	r0, r4
	add	r3, r3, ip
	bl	bgpio_init
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L12+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r0, [r4, #8]
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L9:
	ldr	r3, .L12+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r2, .L12+24
	ldr	r3, .L12+28
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r4, #4]
	mov	r1, r4
	mov	r2, r4
	mov	r0, r6
	str	r3, [r4]
	bl	devm_gpiochip_add_data
	subs	r5, r0, #0
	bne	.L11
	mov	r1, r4
	mov	r0, r6
	bl	platform_set_drvdata
	mov	r0, r6
	ldr	r1, .L12+32
	bl	dev_info
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r6
	ldr	r1, .L12+36
	bl	dev_err
	b	.L1
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	MLXBF_GPIO_PIN_DIR_I
	.word	MLXBF_GPIO_PIN_DIR_O
	.word	MLXBF_GPIO_PIN_STATE
	.word	ENODEV
	.word	ENOMEM
	.word	THIS_MODULE
	.word	MLXBF_GPIO_NR
	.word	.LC1
	.word	.LC0
	.size	mlxbf_gpio_probe, .-mlxbf_gpio_probe
	.comm	THIS_MODULE,4,4
	.comm	MLXBF_GPIO_PIN_STATE,4,4
	.comm	MLXBF_GPIO_PIN_DIR_O,4,4
	.comm	MLXBF_GPIO_PIN_DIR_I,4,4
	.comm	MLXBF_GPIO_NR,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
