	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_probe_of
_mwifiex_probe_of:                      ## @mwifiex_probe_of
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, 8(%rbx)
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_mwifiex_irq_wakeup_handler@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %r9
	callq	_devm_request_irq
	movl	(%rbx), %edx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	jmp	LBB0_7
LBB0_5:
	movl	%edx, %edi
	callq	_disable_irq
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_7:
	movl	$-1, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fail to parse irq_wakeup from device tree\n"

	.comm	_mwifiex_irq_wakeup_handler,4,2 ## @mwifiex_irq_wakeup_handler
	.comm	_IRQF_TRIGGER_LOW,4,2           ## @IRQF_TRIGGER_LOW
L_.str.1:                               ## @.str.1
	.asciz	"wifi_wake"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to request irq_wakeup %d (%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"fail to init wakeup for mwifiex\n"

	.no_dead_strip	_mwifiex_probe_of
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_probe_of
_mwifiex_probe_of:                      ; @mwifiex_probe_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x0, [x20]
	cbz	x0, LBB0_8
; %bb.1:
	str	x0, [x19, #8]
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x19]
	cbz	w0, LBB0_4
; %bb.2:
	mov	x1, x0
Lloh0:
	adrp	x8, _mwifiex_irq_wakeup_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mwifiex_irq_wakeup_handler@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x4, l_.str.1@PAGE
Lloh7:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x5, x19
	bl	_devm_request_irq
	mov	x8, x0
	ldr	w0, [x19]
	cbz	w8, LBB0_5
; %bb.3:
	stp	x0, x8, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	b	LBB0_8
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_disable_irq
	mov	x0, x20
	mov	w1, #1
	bl	_device_init_wakeup
	cbz	x0, LBB0_9
; %bb.6:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_dev_err
LBB0_8:
	mov	w8, #-1
	str	w8, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	"fail to parse irq_wakeup from device tree\n"

	.comm	_mwifiex_irq_wakeup_handler,4,2 ; @mwifiex_irq_wakeup_handler
	.comm	_IRQF_TRIGGER_LOW,4,2           ; @IRQF_TRIGGER_LOW
l_.str.1:                               ; @.str.1
	.asciz	"wifi_wake"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to request irq_wakeup %d (%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"fail to init wakeup for mwifiex\n"

	.no_dead_strip	_mwifiex_probe_of
.subsections_via_symbols
