	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_rfafeandresetbb
_disable_rfafeandresetbb:               ## @disable_rfafeandresetbb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	_REG_TXPAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_rtl_write_byte
	movq	_MASKBYTE0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_rtl_set_rfreg
	movq	_APSDOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_REG_APSD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtl_write_byte
	movq	_FEN_USBD@GOTPCREL(%rip), %rax
	movq	_FEN_USBA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_FEN_BB_GLB_RSTN@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movq	_REG_SYS_FUNC_EN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_byte
	movl	(%r15), %edx
	notl	%edx
	andl	%ebx, %edx
	movl	(%r12), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_TXPAUSE,4,2                ## @REG_TXPAUSE
	.comm	_MASKBYTE0,4,2                  ## @MASKBYTE0
	.comm	_APSDOFF,4,2                    ## @APSDOFF
	.comm	_REG_APSD_CTRL,4,2              ## @REG_APSD_CTRL
	.comm	_FEN_USBD,4,2                   ## @FEN_USBD
	.comm	_FEN_USBA,4,2                   ## @FEN_USBA
	.comm	_FEN_BB_GLB_RSTN,4,2            ## @FEN_BB_GLB_RSTN
	.comm	_REG_SYS_FUNC_EN,4,2            ## @REG_SYS_FUNC_EN
	.no_dead_strip	_disable_rfafeandresetbb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_rfafeandresetbb
_disable_rfafeandresetbb:               ; @disable_rfafeandresetbb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _REG_TXPAUSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_TXPAUSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #255
	bl	_rtl_write_byte
Lloh3:
	adrp	x8, _MASKBYTE0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MASKBYTE0@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
Lloh6:
	adrp	x8, _APSDOFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APSDOFF@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _REG_APSD_CTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_APSD_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rtl_write_byte
Lloh12:
	adrp	x8, _FEN_USBD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FEN_USBD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _FEN_USBA@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FEN_USBA@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x21, _FEN_BB_GLB_RSTN@GOTPAGE
Lloh19:
	ldr	x21, [x21, _FEN_BB_GLB_RSTN@GOTPAGEOFF]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w19, w8, w9
Lloh20:
	adrp	x22, _REG_SYS_FUNC_EN@GOTPAGE
Lloh21:
	ldr	x22, [x22, _REG_SYS_FUNC_EN@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x19
	bl	_rtl_write_byte
	ldr	w8, [x21]
	bic	w2, w19, w8
	ldr	w1, [x22]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl_write_byte
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_TXPAUSE,4,2                ; @REG_TXPAUSE
	.comm	_MASKBYTE0,4,2                  ; @MASKBYTE0
	.comm	_APSDOFF,4,2                    ; @APSDOFF
	.comm	_REG_APSD_CTRL,4,2              ; @REG_APSD_CTRL
	.comm	_FEN_USBD,4,2                   ; @FEN_USBD
	.comm	_FEN_USBA,4,2                   ; @FEN_USBA
	.comm	_FEN_BB_GLB_RSTN,4,2            ; @FEN_BB_GLB_RSTN
	.comm	_REG_SYS_FUNC_EN,4,2            ; @REG_SYS_FUNC_EN
	.no_dead_strip	_disable_rfafeandresetbb
.subsections_via_symbols
