	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zd1201_enable
_zd1201_enable:                         ## @zd1201_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	cmpl	$0, (%rdi)
	je	LBB0_1
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_ZD1201_CMDCODE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_zd1201_docmd
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rbx)
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.5:
	movq	_ZD1201_RID_PROMISCUOUSMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_zd1201_setconfig16             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ZD1201_CMDCODE_ENABLE,4,2      ## @ZD1201_CMDCODE_ENABLE
	.comm	_ZD1201_RID_PROMISCUOUSMODE,4,2 ## @ZD1201_RID_PROMISCUOUSMODE
	.no_dead_strip	_zd1201_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zd1201_enable
_zd1201_enable:                         ; @zd1201_enable
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
Lloh0:
	adrp	x8, _ZD1201_CMDCODE_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZD1201_CMDCODE_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_zd1201_docmd
	cbnz	w0, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.6:
Lloh3:
	adrp	x8, _ZD1201_RID_PROMISCUOUSMODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZD1201_RID_PROMISCUOUSMODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zd1201_setconfig16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ZD1201_CMDCODE_ENABLE,4,2      ; @ZD1201_CMDCODE_ENABLE
	.comm	_ZD1201_RID_PROMISCUOUSMODE,4,2 ; @ZD1201_RID_PROMISCUOUSMODE
	.no_dead_strip	_zd1201_enable
.subsections_via_symbols
