	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822b_set_antenna
_rtw8822b_set_antenna:                  ## @rtw8822b_set_antenna
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_RTW_DBG_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_rtw_dbg
	movq	%rbx, %rdi
	callq	_rtw8822b_check_rf_path
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_rtw_info
	movq	_BB_PATH_AB@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	movq	%r14, %rdi
	callq	_rtw8822b_check_rf_path
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_rtw_info
	movq	_BB_PATH_AB@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_4:
	movq	%rbx, 8(%r15)
	movq	%r14, (%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw8822b_config_trx_mode       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_DBG_PHY,4,2                ## @RTW_DBG_PHY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"config RF path, tx=0x%x rx=0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"unsupport tx path, set to default path ab\n"

	.comm	_BB_PATH_AB,8,3                 ## @BB_PATH_AB
L_.str.2:                               ## @.str.2
	.asciz	"unsupport rx path, set to default path ab\n"

	.no_dead_strip	_rtw8822b_set_antenna
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822b_set_antenna
_rtw8822b_set_antenna:                  ; @rtw8822b_set_antenna
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RTW_DBG_PHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_DBG_PHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x21
	mov	x4, x20
	bl	_rtw_dbg
	mov	x0, x21
	bl	_rtw8822b_check_rf_path
	cbnz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_rtw_info
Lloh7:
	adrp	x8, _BB_PATH_AB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BB_PATH_AB@GOTPAGEOFF]
Lloh9:
	ldr	x21, [x8]
LBB0_2:
	mov	x0, x20
	bl	_rtw8822b_check_rf_path
	cbnz	w0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_rtw_info
Lloh12:
	adrp	x8, _BB_PATH_AB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BB_PATH_AB@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
LBB0_4:
	stp	x20, x21, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
	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	_rtw8822b_config_trx_mode
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_DBG_PHY,4,2                ; @RTW_DBG_PHY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"config RF path, tx=0x%x rx=0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"unsupport tx path, set to default path ab\n"

	.comm	_BB_PATH_AB,8,3                 ; @BB_PATH_AB
l_.str.2:                               ; @.str.2
	.asciz	"unsupport rx path, set to default path ab\n"

	.no_dead_strip	_rtw8822b_set_antenna
.subsections_via_symbols
