	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_gpio_get_desc
_i2c_gpio_get_desc:                     ## @i2c_gpio_get_desc
	.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
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	%ecx, %edx
	callq	_devm_gpiod_get
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_devm_gpiod_get_index
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	%r15d, %ecx
	addl	(%rax), %ecx
	jne	LBB0_6
## %bb.5:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %r12
LBB0_6:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	jne	LBB0_8
## %bb.7:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %r12
LBB0_8:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_dev_err
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"got GPIO from name %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"got GPIO from index %u\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"error trying to get descriptor: %d\n"

	.no_dead_strip	_i2c_gpio_get_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_gpio_get_desc
_i2c_gpio_get_desc:                     ; @i2c_gpio_get_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x2, x3
	bl	_devm_gpiod_get
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_8
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x21
	mov	x3, x22
	bl	_devm_gpiod_get_index
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x21, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _EPROBE_DEFER@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EPROBE_DEFER@GOTPAGEOFF]
	cmn	w0, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x22]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
LBB0_4:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x22]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
LBB0_6:
	ldr	w8, [x22]
	cmn	w21, w8
	b.eq	LBB0_11
; %bb.7:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
	b	LBB0_11
LBB0_8:
	str	x23, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_dbg
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"got GPIO from name %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"got GPIO from index %u\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"error trying to get descriptor: %d\n"

	.no_dead_strip	_i2c_gpio_get_desc
.subsections_via_symbols
