	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_register_toggle
_ipw_register_toggle:                   ## @ipw_register_toggle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IPW_START_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	%edi, %ecx
	movq	_IPW_GATE_ODMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ecx, %esi
	andl	%edx, %esi
	notl	%edx
	xorl	%eax, %eax
	cmpl	$1, %esi
	movl	$0, %esi
	sbbl	%esi, %esi
	orl	%edx, %esi
	andl	%ecx, %esi
	movq	_IPW_GATE_IDMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%esi, %edx
	andl	%ecx, %edx
	cmpl	$1, %edx
	movl	$0, %edx
	sbbl	%edx, %edx
	notl	%ecx
	orl	%ecx, %edx
	andl	%esi, %edx
	movq	_IPW_GATE_ADMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%edx, %esi
	andl	%ecx, %esi
	notl	%ecx
	cmpl	$1, %esi
	sbbl	%eax, %eax
	orl	%ecx, %eax
	andl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPW_START_STANDBY,4,2          ## @IPW_START_STANDBY
	.comm	_IPW_GATE_ODMA,4,2              ## @IPW_GATE_ODMA
	.comm	_IPW_GATE_IDMA,4,2              ## @IPW_GATE_IDMA
	.comm	_IPW_GATE_ADMA,4,2              ## @IPW_GATE_ADMA
	.no_dead_strip	_ipw_register_toggle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_register_toggle
_ipw_register_toggle:                   ; @ipw_register_toggle
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IPW_START_STANDBY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPW_START_STANDBY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh3:
	adrp	x9, _IPW_GATE_ODMA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPW_GATE_ODMA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w9
	mov	w10, #-1
	csinv	w9, w10, w9, eq
Lloh6:
	adrp	x11, _IPW_GATE_IDMA@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IPW_GATE_IDMA@GOTPAGEOFF]
	and	w8, w9, w8
Lloh8:
	ldr	w9, [x11]
	tst	w8, w9
	csinv	w9, w10, w9, eq
Lloh9:
	adrp	x11, _IPW_GATE_ADMA@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IPW_GATE_ADMA@GOTPAGEOFF]
	and	w8, w9, w8
Lloh11:
	ldr	w9, [x11]
	tst	w8, w9
	csinv	w9, w10, w9, eq
	and	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPW_START_STANDBY,4,2          ; @IPW_START_STANDBY
	.comm	_IPW_GATE_ODMA,4,2              ; @IPW_GATE_ODMA
	.comm	_IPW_GATE_IDMA,4,2              ; @IPW_GATE_IDMA
	.comm	_IPW_GATE_ADMA,4,2              ; @IPW_GATE_ADMA
	.no_dead_strip	_ipw_register_toggle
.subsections_via_symbols
