	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcmrvl_i2c_parse_dt
_nfcmrvl_i2c_parse_dt:                  ## @nfcmrvl_i2c_parse_dt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_nfcmrvl_parse_dt
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_find_property
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_8
LBB0_3:
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	%ebx, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get generic entries\n"

L_.str.1:                               ## @.str.1
	.asciz	"i2c-int-falling"

	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
L_.str.2:                               ## @.str.2
	.asciz	"Unable to get irq, error: %d\n"

	.no_dead_strip	_nfcmrvl_i2c_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcmrvl_i2c_parse_dt
_nfcmrvl_i2c_parse_dt:                  ; @nfcmrvl_i2c_parse_dt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_nfcmrvl_parse_dt
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, #0
	bl	_of_find_property
Lloh2:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh4:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	mov	x20, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
	str	w20, [x19]
	mov	w20, #0
	b	LBB0_6
LBB0_3:
	mov	x20, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	bl	_pr_err
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get generic entries\n"

l_.str.1:                               ; @.str.1
	.asciz	"i2c-int-falling"

	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
l_.str.2:                               ; @.str.2
	.asciz	"Unable to get irq, error: %d\n"

	.no_dead_strip	_nfcmrvl_i2c_parse_dt
.subsections_via_symbols
