	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrf24j40_set_cca_mode
_mrf24j40_set_cca_mode:                 ## @mrf24j40_set_cca_mode
	.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
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$131, %eax
	jne	LBB0_7
## %bb.4:
	movl	$1, %eax
	jmp	LBB0_5
LBB0_6:
	movl	$3, %eax
	cmpl	$128, 4(%rsi)
	je	LBB0_5
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$2, %eax
LBB0_5:
	movl	(%rcx), %edi
	movq	_REG_BBREG2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_BBREG2_CCA_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_BBREG2_CCA_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_REG_BBREG2,4,2                 ## @REG_BBREG2
	.comm	_BBREG2_CCA_MODE_MASK,4,2       ## @BBREG2_CCA_MODE_MASK
	.comm	_BBREG2_CCA_MODE_SHIFT,4,2      ## @BBREG2_CCA_MODE_SHIFT
	.no_dead_strip	_mrf24j40_set_cca_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrf24j40_set_cca_mode
_mrf24j40_set_cca_mode:                 ; @mrf24j40_set_cca_mode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x1]
	cmp	w9, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w9, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_8
; %bb.3:
	mov	w9, #1
	b	LBB0_7
LBB0_4:
	mov	w9, #2
	b	LBB0_7
LBB0_5:
	ldr	w9, [x1, #4]
	cmp	w9, #128
	b.ne	LBB0_8
; %bb.6:
	mov	w9, #3
LBB0_7:
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _REG_BBREG2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_BBREG2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BBREG2_CCA_MODE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBREG2_CCA_MODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _BBREG2_CCA_MODE_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BBREG2_CCA_MODE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w3, w9, w8
	b	_regmap_update_bits
LBB0_8:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_REG_BBREG2,4,2                 ; @REG_BBREG2
	.comm	_BBREG2_CCA_MODE_MASK,4,2       ; @BBREG2_CCA_MODE_MASK
	.comm	_BBREG2_CCA_MODE_SHIFT,4,2      ; @BBREG2_CCA_MODE_SHIFT
	.no_dead_strip	_mrf24j40_set_cca_mode
.subsections_via_symbols
