	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __rtl8821ae_phy_config_with_headerfile
___rtl8821ae_phy_config_with_headerfile: ## @__rtl8821ae_phy_config_with_headerfile
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	cmpl	$2, %edx
	jl	LBB0_16
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %ebx
	movl	$1, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$30, %edi
	callq	_BIT
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %r13
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	-4(%rax,%r13,4), %r14d
	movl	(%rax,%r13,4), %r15d
	movl	$31, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$30, %edi
	callq	_BIT
	orl	%r12d, %eax
	testl	%r14d, %eax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$31, %edi
	callq	_BIT
	testl	%r14d, %eax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$29, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$28, %edi
	callq	_BIT
	orl	%ebx, %eax
	andl	%r14d, %eax
	sarl	$28, %eax
	cmpl	$3, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%bl
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	$1, %ebx
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	__rtl8821ae_check_positive
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_15
LBB0_16:
	movl	$1, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COND_ELSE,8,3                  ## @COND_ELSE
	.comm	_COND_ENDIF,8,3                 ## @COND_ENDIF
	.no_dead_strip	___rtl8821ae_phy_config_with_headerfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __rtl8821ae_phy_config_with_headerfile
___rtl8821ae_phy_config_with_headerfile: ; @__rtl8821ae_phy_config_with_headerfile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w2, #2
	b.lt	LBB0_16
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x26, #0
	mov	w27, #0
	mov	w28, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #30
	bl	_BIT
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #2
	add	w8, w26, #1
	cmp	w8, w20
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x21, x26, lsl #2
	ldp	w23, w24, [x8]
	mov	w0, #31
	bl	_BIT
	mov	x25, x0
	mov	w0, #30
	bl	_BIT
	orr	w8, w0, w25
	tst	w8, w23
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #31
	bl	_BIT
	tst	w0, w23
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #29
	bl	_BIT
	mov	x25, x0
	mov	w0, #28
	bl	_BIT
	orr	w8, w0, w25
	and	w8, w8, w23
	asr	w8, w8, #28
	cmp	w8, #3
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #2
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w27, #0
	cset	w28, eq
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w28, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	blr	x19
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #1
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w27, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	mov	w27, #1
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	__rtl8821ae_check_positive
	cmp	x0, #0
	cset	w27, ne
	mov	x28, x27
	b	LBB0_3
LBB0_16:
	mov	w0, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_COND_ELSE,8,3                  ; @COND_ELSE
	.comm	_COND_ENDIF,8,3                 ; @COND_ENDIF
	.no_dead_strip	___rtl8821ae_phy_config_with_headerfile
.subsections_via_symbols
