	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gw_pld_probe
_gw_pld_probe:                          ## @gw_pld_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	8(%rdi), %r14
	movq	8(%rdi), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r12
	addq	$8, %r12
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, 8(%rbx)
	movq	%r14, 56(%rbx)
	movq	%r13, 48(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 36(%rbx)
	movl	$8, 16(%rbx)
	movq	_gw_pld_input8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_gw_pld_get8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_gw_pld_output8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_gw_pld_set8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%r15, 64(%rbx)
	movq	_I2C_M_IGNORE_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movl	$255, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_gw_pld_input8,4,2              ## @gw_pld_input8
	.comm	_gw_pld_get8,4,2                ## @gw_pld_get8
	.comm	_gw_pld_output8,4,2             ## @gw_pld_output8
	.comm	_gw_pld_set8,4,2                ## @gw_pld_set8
	.comm	_I2C_M_IGNORE_NAK,4,2           ## @I2C_M_IGNORE_NAK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"registered Gateworks PLD GPIO device\n"

	.no_dead_strip	_gw_pld_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function gw_pld_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_gw_pld_probe:                          ; @gw_pld_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	mov	x19, x0
	ldr	x23, [x19, #8]!
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	mov	x22, x0
	str	d0, [x22, #8]!
	stp	x23, x19, [x0, #48]
Lloh5:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	mov	x0, x19
	bl	_dev_name
	mov	w8, #8
Lloh8:
	adrp	x9, _gw_pld_input8@GOTPAGE
Lloh9:
	ldr	x9, [x9, _gw_pld_input8@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w0, [x21, #32]
Lloh11:
	adrp	x9, _gw_pld_get8@GOTPAGE
Lloh12:
	ldr	x9, [x9, _gw_pld_get8@GOTPAGEOFF]
Lloh13:
	adrp	x10, _gw_pld_output8@GOTPAGE
Lloh14:
	ldr	x10, [x10, _gw_pld_output8@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	ldr	w10, [x10]
	stp	w10, w9, [x21, #24]
Lloh17:
	adrp	x9, _gw_pld_set8@GOTPAGE
Lloh18:
	ldr	x9, [x9, _gw_pld_set8@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w8, w9, [x21, #16]
	str	x20, [x21, #64]
Lloh20:
	adrp	x8, _I2C_M_IGNORE_NAK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I2C_M_IGNORE_NAK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	w8, #255
	str	w8, [x21]
	mov	x0, x20
	mov	x1, x21
	bl	_i2c_set_clientdata
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_devm_gpiochip_add_data
	cbnz	w0, LBB0_4
; %bb.2:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_gw_pld_input8,4,2              ; @gw_pld_input8
	.comm	_gw_pld_get8,4,2                ; @gw_pld_get8
	.comm	_gw_pld_output8,4,2             ; @gw_pld_output8
	.comm	_gw_pld_set8,4,2                ; @gw_pld_set8
	.comm	_I2C_M_IGNORE_NAK,4,2           ; @I2C_M_IGNORE_NAK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"registered Gateworks PLD GPIO device\n"

	.no_dead_strip	_gw_pld_probe
.subsections_via_symbols
