	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ca8210_start
_ca8210_start:                          ## @ca8210_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -28(%rbp)
	movq	(%rdi), %r15
	movl	$-1, (%r15)
	movl	$1, -32(%rbp)
	movq	_MAC_RX_ON_WHEN_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %r8
	xorl	%r14d, %r14d
	leaq	-32(%rbp), %rcx
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_mlme_set_request_sync
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movq	_HWME_LQILIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rcx
	leaq	-28(%rbp), %rdx
	movl	$1, %esi
	callq	_hwme_set_request_sync
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movl	%ebx, %edx
	callq	_dev_crit
	movl	%ebx, %edi
	callq	_link_to_linux_err
	movl	%eax, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_RX_ON_WHEN_IDLE,4,2        ## @MAC_RX_ON_WHEN_IDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting rx_on_when_idle failed, status = %d\n"

	.comm	_HWME_LQILIMIT,4,2              ## @HWME_LQILIMIT
L_.str.1:                               ## @.str.1
	.asciz	"Setting lqilimit failed, status = %d\n"

	.no_dead_strip	_ca8210_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ca8210_start
_ca8210_start:                          ; @ca8210_start
	.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
	str	wzr, [sp, #8]
	ldr	x20, [x0]
	mov	w8, #-1
	str	w8, [x20]
	mov	w8, #1
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _MAC_RX_ON_WHEN_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_RX_ON_WHEN_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x4, [x20, #8]
	add	x3, sp, #12
	mov	w1, #0
	mov	w2, #1
	bl	_mlme_set_request_sync
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _HWME_LQILIMIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HWME_LQILIMIT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x3, [x20, #8]
	add	x2, sp, #8
	mov	w1, #1
	bl	_hwme_set_request_sync
	cbz	w0, LBB0_5
; %bb.3:
	mov	x19, x0
	ldr	x0, [x20, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x2, x19
	bl	_dev_crit
	mov	x0, x19
	bl	_link_to_linux_err
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_RX_ON_WHEN_IDLE,4,2        ; @MAC_RX_ON_WHEN_IDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting rx_on_when_idle failed, status = %d\n"

	.comm	_HWME_LQILIMIT,4,2              ; @HWME_LQILIMIT
l_.str.1:                               ; @.str.1
	.asciz	"Setting lqilimit failed, status = %d\n"

	.no_dead_strip	_ca8210_start
.subsections_via_symbols
