	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___max730x_probe                ## -- Begin function __max730x_probe
	.p2align	4, 0x90
___max730x_probe:                       ## @__max730x_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, %r13
	movq	88(%rdi), %r12
	movq	%r12, %rdi
	callq	_dev_get_platdata
	movq	%rax, %rbx
	leaq	8(%r13), %r14
	movq	%r14, %rdi
	callq	_mutex_init
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_dev_set_drvdata
	movq	%r12, %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	*80(%r13)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %eax
	movl	%eax, 72(%r13)
	movl	(%rbx), %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	leaq	16(%r13), %r15
	movl	%eax, 16(%r13)
	movq	(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	movq	_max7301_direction_input@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r13)
	movq	_max7301_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r13)
	movq	_max7301_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r13)
	movq	_max7301_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r13)
	movq	_PIN_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	movl	$1, 32(%r13)
	movq	%r12, 40(%r13)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_gpiochip_add_data
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	$170, 4(%rax,%r12)
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_max7301_direction_input
	testl	%eax, %eax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r12), %esi
	movq	%r15, %rdi
	callq	_max7301_direction_input
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	2(%r12), %esi
	movq	%r15, %rdi
	callq	_max7301_direction_input
	testl	%eax, %eax
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	leal	3(%r12), %esi
	movq	%r15, %rdi
	callq	_max7301_direction_input
	testl	%eax, %eax
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %r12
	cmpq	$28, %r12
	jne	LBB0_5
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_6:
	movl	%eax, %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_mutex_destroy
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max7301_get,4,2                ## @max7301_get
	.comm	_max7301_direction_output,4,2   ## @max7301_direction_output
	.comm	_max7301_set,4,2                ## @max7301_set
	.comm	_PIN_NUMBER,4,2                 ## @PIN_NUMBER
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___max730x_probe                ; -- Begin function __max730x_probe
	.p2align	2
___max730x_probe:                       ; @__max730x_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
	ldr	x22, [x0, #88]
	mov	x0, x22
	bl	_dev_get_platdata
	mov	x21, x0
	add	x19, x20, #8
	mov	x0, x19
	bl	_mutex_init
	mov	x0, x22
	mov	x1, x20
	bl	_dev_set_drvdata
	ldr	x8, [x20, #80]
	mov	w23, #1
	mov	x0, x22
	mov	w1, #4
	mov	w2, #1
	blr	x8
	cbz	x21, LBB0_2
; %bb.1:
	ldp	w8, w9, [x21]
	str	w9, [x20, #72]
	b	LBB0_3
LBB0_2:
	mov	w8, #-1
LBB0_3:
	mov	x21, x20
	str	w8, [x21, #16]!
	ldr	x8, [x22]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _max7301_direction_input@GOTPAGE
Lloh1:
	ldr	x9, [x9, _max7301_direction_input@GOTPAGEOFF]
	str	w8, [x20, #64]
	str	x9, [x20, #24]
Lloh2:
	adrp	x8, _max7301_get@GOTPAGE
Lloh3:
	ldr	x8, [x8, _max7301_get@GOTPAGEOFF]
Lloh4:
	adrp	x9, _max7301_direction_output@GOTPAGE
Lloh5:
	ldr	x9, [x9, _max7301_direction_output@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #56]
Lloh8:
	adrp	x8, _max7301_set@GOTPAGE
Lloh9:
	ldr	x8, [x8, _max7301_set@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _PIN_NUMBER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PIN_NUMBER@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
	str	x22, [x20, #40]
Lloh14:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	w23, w8, [x20, #32]
	mov	x0, x21
	mov	x1, x20
	bl	_gpiochip_add_data
	mov	x23, x0
	cbnz	w0, LBB0_12
; %bb.4:
	mov	x22, #0
	mov	w24, #170
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x22
	str	w24, [x8, #4]
	mov	x0, x21
	mov	x1, x22
	bl	_max7301_direction_input
	cbnz	w0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w1, w22, #1
	mov	x0, x21
	bl	_max7301_direction_input
	cbnz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w1, w22, #2
	mov	x0, x21
	bl	_max7301_direction_input
	cbnz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w1, w22, #3
	mov	x0, x21
	bl	_max7301_direction_input
	cbnz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #4
	cmp	x22, #28
	b.ne	LBB0_5
; %bb.10:
	mov	w23, #0
	b	LBB0_13
LBB0_11:
	mov	x23, x0
LBB0_12:
	mov	x0, x19
	bl	_mutex_destroy
LBB0_13:
	mov	x0, x23
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_max7301_get,4,2                ; @max7301_get
	.comm	_max7301_direction_output,4,2   ; @max7301_direction_output
	.comm	_max7301_set,4,2                ; @max7301_set
	.comm	_PIN_NUMBER,4,2                 ; @PIN_NUMBER
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
.subsections_via_symbols
