	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ca8210_hw_setup
LCPI0_0:
	.long	800                             ## 0x320
	.long	4294957496                      ## 0xffffd9b8
	.long	16                              ## 0x10
	.long	40                              ## 0x28
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ca8210_hw_setup:                       ## @ca8210_hw_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CA8210_VALID_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rdi), %rax
	movq	64(%rax), %rdx
	movl	%ecx, (%rdx)
	movq	_CA8210_MAX_TX_POWERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 60(%rax)
	movq	_ca8210_tx_powers@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rax)
	movq	_CA8210_MAX_ED_LEVELS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rax)
	movq	_ca8210_ed_levels@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	movl	$18, (%rax)
	movq	$0, 40(%rax)
	movq	_NL802154_CCA_ENERGY_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	_NL802154_CCA_OPT_ENERGY_CARRIER_AND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [800,4294957496,16,40]
	movups	%xmm0, 4(%rax)
	movl	$12, 20(%rax)
	movq	_IEEE802154_HW_AFILT@GOTPCREL(%rip), %rcx
	movq	_IEEE802154_HW_OMIT_CKSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_IEEE802154_HW_FRAME_RETRIES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_IEEE802154_HW_PROMISCUOUS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_IEEE802154_HW_CSMA_PARAMS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, (%rdi)
	movq	_WPAN_PHY_FLAG_TXPOWER@GOTPCREL(%rip), %rcx
	movq	_WPAN_PHY_FLAG_CCA_ED_LEVEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_WPAN_PHY_FLAG_CCA_MODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, 24(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CA8210_VALID_CHANNELS,4,2      ## @CA8210_VALID_CHANNELS
	.comm	_CA8210_MAX_TX_POWERS,4,2       ## @CA8210_MAX_TX_POWERS
	.comm	_ca8210_tx_powers,4,2           ## @ca8210_tx_powers
	.comm	_CA8210_MAX_ED_LEVELS,4,2       ## @CA8210_MAX_ED_LEVELS
	.comm	_ca8210_ed_levels,4,2           ## @ca8210_ed_levels
	.comm	_NL802154_CCA_ENERGY_CARRIER,4,2 ## @NL802154_CCA_ENERGY_CARRIER
	.comm	_NL802154_CCA_OPT_ENERGY_CARRIER_AND,4,2 ## @NL802154_CCA_OPT_ENERGY_CARRIER_AND
	.comm	_IEEE802154_HW_AFILT,4,2        ## @IEEE802154_HW_AFILT
	.comm	_IEEE802154_HW_OMIT_CKSUM,4,2   ## @IEEE802154_HW_OMIT_CKSUM
	.comm	_IEEE802154_HW_FRAME_RETRIES,4,2 ## @IEEE802154_HW_FRAME_RETRIES
	.comm	_IEEE802154_HW_PROMISCUOUS,4,2  ## @IEEE802154_HW_PROMISCUOUS
	.comm	_IEEE802154_HW_CSMA_PARAMS,4,2  ## @IEEE802154_HW_CSMA_PARAMS
	.comm	_WPAN_PHY_FLAG_TXPOWER,4,2      ## @WPAN_PHY_FLAG_TXPOWER
	.comm	_WPAN_PHY_FLAG_CCA_ED_LEVEL,4,2 ## @WPAN_PHY_FLAG_CCA_ED_LEVEL
	.comm	_WPAN_PHY_FLAG_CCA_MODE,4,2     ## @WPAN_PHY_FLAG_CCA_MODE
	.no_dead_strip	_ca8210_hw_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ca8210_hw_setup
lCPI0_0:
	.long	800                             ; 0x320
	.long	4294957496                      ; 0xffffd9b8
	.long	16                              ; 0x10
	.long	40                              ; 0x28
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ca8210_hw_setup:                       ; @ca8210_hw_setup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CA8210_VALID_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CA8210_VALID_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
	ldr	x10, [x9, #64]
	str	w8, [x10]
Lloh3:
	adrp	x8, _CA8210_MAX_TX_POWERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CA8210_MAX_TX_POWERS@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ca8210_tx_powers@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ca8210_tx_powers@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #56]
Lloh9:
	adrp	x8, _CA8210_MAX_ED_LEVELS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CA8210_MAX_ED_LEVELS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x10, _ca8210_ed_levels@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ca8210_ed_levels@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #48]
	mov	w8, #18
	str	w8, [x9]
	str	xzr, [x9, #40]
Lloh15:
	adrp	x8, _NL802154_CCA_ENERGY_CARRIER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NL802154_CCA_ENERGY_CARRIER@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x10, _NL802154_CCA_OPT_ENERGY_CARRIER_AND@GOTPAGE
Lloh19:
	ldr	x10, [x10, _NL802154_CCA_OPT_ENERGY_CARRIER_AND@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #28]
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
Lloh23:
	adrp	x8, _IEEE802154_HW_AFILT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE802154_HW_AFILT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x10, _IEEE802154_HW_OMIT_CKSUM@GOTPAGE
Lloh27:
	ldr	x10, [x10, _IEEE802154_HW_OMIT_CKSUM@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w8, w10, w8
Lloh29:
	adrp	x10, _IEEE802154_HW_FRAME_RETRIES@GOTPAGE
Lloh30:
	ldr	x10, [x10, _IEEE802154_HW_FRAME_RETRIES@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w8, w8, w10
Lloh32:
	adrp	x10, _IEEE802154_HW_PROMISCUOUS@GOTPAGE
Lloh33:
	ldr	x10, [x10, _IEEE802154_HW_PROMISCUOUS@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	orr	w8, w8, w10
Lloh35:
	adrp	x10, _IEEE802154_HW_CSMA_PARAMS@GOTPAGE
Lloh36:
	ldr	x10, [x10, _IEEE802154_HW_CSMA_PARAMS@GOTPAGEOFF]
	stur	q0, [x9, #4]
Lloh37:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x0]
Lloh38:
	adrp	x8, _WPAN_PHY_FLAG_TXPOWER@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WPAN_PHY_FLAG_TXPOWER@GOTPAGEOFF]
	mov	w10, #12
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x11, _WPAN_PHY_FLAG_CCA_ED_LEVEL@GOTPAGE
Lloh42:
	ldr	x11, [x11, _WPAN_PHY_FLAG_CCA_ED_LEVEL@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
	orr	w8, w11, w8
Lloh44:
	adrp	x11, _WPAN_PHY_FLAG_CCA_MODE@GOTPAGE
Lloh45:
	ldr	x11, [x11, _WPAN_PHY_FLAG_CCA_MODE@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
	orr	w8, w8, w11
	stp	w10, w8, [x9, #20]
	ret
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdrp	Lloh21, Lloh23
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CA8210_VALID_CHANNELS,4,2      ; @CA8210_VALID_CHANNELS
	.comm	_CA8210_MAX_TX_POWERS,4,2       ; @CA8210_MAX_TX_POWERS
	.comm	_ca8210_tx_powers,4,2           ; @ca8210_tx_powers
	.comm	_CA8210_MAX_ED_LEVELS,4,2       ; @CA8210_MAX_ED_LEVELS
	.comm	_ca8210_ed_levels,4,2           ; @ca8210_ed_levels
	.comm	_NL802154_CCA_ENERGY_CARRIER,4,2 ; @NL802154_CCA_ENERGY_CARRIER
	.comm	_NL802154_CCA_OPT_ENERGY_CARRIER_AND,4,2 ; @NL802154_CCA_OPT_ENERGY_CARRIER_AND
	.comm	_IEEE802154_HW_AFILT,4,2        ; @IEEE802154_HW_AFILT
	.comm	_IEEE802154_HW_OMIT_CKSUM,4,2   ; @IEEE802154_HW_OMIT_CKSUM
	.comm	_IEEE802154_HW_FRAME_RETRIES,4,2 ; @IEEE802154_HW_FRAME_RETRIES
	.comm	_IEEE802154_HW_PROMISCUOUS,4,2  ; @IEEE802154_HW_PROMISCUOUS
	.comm	_IEEE802154_HW_CSMA_PARAMS,4,2  ; @IEEE802154_HW_CSMA_PARAMS
	.comm	_WPAN_PHY_FLAG_TXPOWER,4,2      ; @WPAN_PHY_FLAG_TXPOWER
	.comm	_WPAN_PHY_FLAG_CCA_ED_LEVEL,4,2 ; @WPAN_PHY_FLAG_CCA_ED_LEVEL
	.comm	_WPAN_PHY_FLAG_CCA_MODE,4,2     ; @WPAN_PHY_FLAG_CCA_MODE
	.no_dead_strip	_ca8210_hw_setup
.subsections_via_symbols
