	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efa_com_set_admin_polling_mode ## -- Begin function efa_com_set_admin_polling_mode
	.p2align	4, 0x90
_efa_com_set_admin_polling_mode:        ## @efa_com_set_admin_polling_mode
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_EFA_REGS_ADMIN_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_2:
	movq	_EFA_REGS_INTR_MASK_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	callq	_writel
	movq	_EFA_AQ_STATE_POLLING_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EFA_REGS_ADMIN_INTR_MASK,4,2   ## @EFA_REGS_ADMIN_INTR_MASK
	.comm	_EFA_REGS_INTR_MASK_OFF,8,3     ## @EFA_REGS_INTR_MASK_OFF
	.comm	_EFA_AQ_STATE_POLLING_BIT,4,2   ## @EFA_AQ_STATE_POLLING_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efa_com_set_admin_polling_mode ; -- Begin function efa_com_set_admin_polling_mode
	.p2align	2
_efa_com_set_admin_polling_mode:        ; @efa_com_set_admin_polling_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EFA_REGS_ADMIN_INTR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFA_REGS_ADMIN_INTR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, #0
	csel	w0, wzr, w8, eq
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _EFA_REGS_INTR_MASK_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EFA_REGS_INTR_MASK_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh6:
	adrp	x8, _EFA_AQ_STATE_POLLING_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFA_AQ_STATE_POLLING_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	cbz	w20, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_bit
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EFA_REGS_ADMIN_INTR_MASK,4,2   ; @EFA_REGS_ADMIN_INTR_MASK
	.comm	_EFA_REGS_INTR_MASK_OFF,8,3     ; @EFA_REGS_INTR_MASK_OFF
	.comm	_EFA_AQ_STATE_POLLING_BIT,4,2   ; @EFA_AQ_STATE_POLLING_BIT
.subsections_via_symbols
