	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atusb_set_cca_ed_level
_atusb_set_cca_ed_level:                ## @atusb_set_cca_ed_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	8(%rdi), %rdi
	movq	8(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rcx,%rdx,8)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_SR_CCA_ED_THRES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_atusb_write_subreg             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SR_CCA_ED_THRES,4,2            ## @SR_CCA_ED_THRES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_atusb_set_cca_ed_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atusb_set_cca_ed_level
_atusb_set_cca_ed_level:                ; @atusb_set_cca_ed_level
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	x8, [x9]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x2, #0
	ldr	x0, [x0, #8]
	ldr	x9, [x9, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x2, lsl #3]
	cmp	x10, x1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
Lloh3:
	adrp	x8, _SR_CCA_ED_THRES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SR_CCA_ED_THRES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_atusb_write_subreg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SR_CCA_ED_THRES,4,2            ; @SR_CCA_ED_THRES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_atusb_set_cca_ed_level
.subsections_via_symbols
