	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl3501_block_interrupt
_wl3501_block_interrupt:                ## @wl3501_block_interrupt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_WL3501_NIC_GCR@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%r14), %rdi
	callq	_inb
	movl	%eax, %ebx
	movq	_WL3501_GCR_ECINT@GOTPCREL(%rip), %rax
	movq	_WL3501_GCR_INT2EC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_WL3501_GCR_ENECINT@GOTPCREL(%rip), %r12
	orl	(%r12), %edi
	notl	%edi
	andl	%ebx, %edi
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	callq	_wl3501_outb
	andl	(%r12), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL3501_NIC_GCR,8,3             ## @WL3501_NIC_GCR
	.comm	_WL3501_GCR_ECINT,4,2           ## @WL3501_GCR_ECINT
	.comm	_WL3501_GCR_INT2EC,4,2          ## @WL3501_GCR_INT2EC
	.comm	_WL3501_GCR_ENECINT,4,2         ## @WL3501_GCR_ENECINT
	.no_dead_strip	_wl3501_block_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl3501_block_interrupt
_wl3501_block_interrupt:                ; @wl3501_block_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _WL3501_NIC_GCR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WL3501_NIC_GCR@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_inb
	mov	x20, x0
Lloh2:
	adrp	x8, _WL3501_GCR_ECINT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WL3501_GCR_ECINT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _WL3501_GCR_INT2EC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WL3501_GCR_INT2EC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x22, _WL3501_GCR_ENECINT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _WL3501_GCR_ENECINT@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w8, w9
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_wl3501_outb
	ldr	w8, [x22]
	and	w0, w8, w20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WL3501_NIC_GCR,8,3             ; @WL3501_NIC_GCR
	.comm	_WL3501_GCR_ECINT,4,2           ; @WL3501_GCR_ECINT
	.comm	_WL3501_GCR_INT2EC,4,2          ; @WL3501_GCR_INT2EC
	.comm	_WL3501_GCR_ENECINT,4,2         ; @WL3501_GCR_ENECINT
	.no_dead_strip	_wl3501_block_interrupt
.subsections_via_symbols
