	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8187se_set_antenna_config
_rtl8187se_set_antenna_config:          ## @rtl8187se_set_antenna_config
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	$12, %esi
	movl	$9, %edx
	callq	_rtl8225_write_phy_cck
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	setne	%r12b
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	cmpl	$1, %r13d
	sete	%bl
	setne	%al
	movq	(%r15), %rsi
	shll	$7, %r12d
	leal	71(%r12), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	orl	$50, %r12d
	leal	(%rax,%rax,2), %edx
	shll	$5, %ebx
	orl	$155, %ebx
	leal	84(,%rax,8), %r13d
	movq	%r15, %rdi
	callq	_rtl818x_iowrite8
	movq	%r14, %rdi
	movl	$17, %esi
	movl	%ebx, %edx
	callq	_rtl8225_write_phy_cck
	movq	%r14, %rdi
	movl	$1, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_rtl8225_write_phy_cck
	movq	%r14, %rdi
	movl	$13, %esi
	movl	%r13d, %edx
	callq	_rtl8225_write_phy_ofdm
	movq	%r14, %rdi
	movl	$24, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl8225_write_phy_ofdm         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rtl8187se_set_antenna_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8187se_set_antenna_config
_rtl8187se_set_antenna_config:          ; @rtl8187se_set_antenna_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	mov	w1, #12
	mov	w2, #9
	bl	_rtl8225_write_phy_cck
	mov	w8, #199
	mov	w9, #71
	ldr	x1, [x22]
	cmp	w19, #0
	csel	w19, w9, w8, eq
	mov	w8, #178
	mov	w9, #50
	csel	w23, w9, w8, eq
	mov	w8, #3
	cmp	w20, #1
	csel	w2, wzr, w8, eq
	mov	w8, #155
	mov	w9, #187
	csel	w20, w9, w8, eq
	mov	w8, #92
	mov	w9, #84
	csel	w24, w9, w8, eq
	mov	x0, x22
	bl	_rtl818x_iowrite8
	mov	x0, x21
	mov	w1, #17
	mov	x2, x20
	bl	_rtl8225_write_phy_cck
	mov	x0, x21
	mov	w1, #1
	mov	x2, x19
	bl	_rtl8225_write_phy_cck
	mov	x0, x21
	mov	w1, #13
	mov	x2, x24
	bl	_rtl8225_write_phy_ofdm
	mov	x0, x21
	mov	w1, #24
	mov	x2, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtl8225_write_phy_ofdm
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rtl8187se_set_antenna_config
.subsections_via_symbols
