	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_read_pa_type
__rtl8821ae_read_pa_type:               ## @_rtl8821ae_read_pa_type
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.8:
	movq	$0, 8(%rbx)
	movl	$0, 24(%rbx)
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_1:
	movl	1504(%r14), %r15d
	movl	%r15d, (%rbx)
	movl	1512(%r14), %eax
	movl	%eax, 4(%rbx)
	cmpl	$255, %r15d
	jne	LBB0_4
## %bb.2:
	cmpl	$255, %eax
	jne	LBB0_4
## %bb.3:
	movq	$0, (%rbx)
	xorl	%r15d, %r15d
LBB0_4:
	movl	$5, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movl	%ecx, 8(%rbx)
	movl	4(%rbx), %r15d
	movl	$7, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movl	%ecx, 12(%rbx)
	movl	1504(%r14), %r15d
	movl	%r15d, 16(%rbx)
	movl	1528(%r14), %eax
	movl	%eax, 20(%rbx)
	cmpl	$255, %r15d
	jne	LBB0_7
## %bb.5:
	cmpl	$255, %eax
	jne	LBB0_7
## %bb.6:
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
LBB0_7:
	movl	$1, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	setne	%cl
	movl	%ecx, 24(%rbx)
	movl	20(%rbx), %r14d
	movl	$7, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testl	%r14d, %eax
	setne	%cl
LBB0_9:
	movl	%ecx, 28(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__rtl8821ae_read_pa_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_read_pa_type
__rtl8821ae_read_pa_type:               ; @_rtl8821ae_read_pa_type
	.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	x21, x2
	mov	x20, x1
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x19, x0
	cbz	w21, LBB0_2
; %bb.1:
	mov	w8, #0
	str	xzr, [x19, #8]
	str	wzr, [x19, #24]
	b	LBB0_9
LBB0_2:
	ldr	w21, [x20, #1504]
	ldr	w8, [x20, #1512]
	stp	w21, w8, [x19]
	cmp	w21, #255
	b.ne	LBB0_5
; %bb.3:
	cmp	w8, #255
	b.ne	LBB0_5
; %bb.4:
	mov	w21, #0
	str	xzr, [x19]
LBB0_5:
	mov	w0, #5
	bl	_BIT
	tst	w0, w21
	cset	w8, ne
	str	w8, [x19, #8]
	ldr	w21, [x19, #4]
	mov	w0, #7
	bl	_BIT
	tst	w0, w21
	cset	w8, ne
	ldr	w21, [x20, #1504]
	stp	w8, w21, [x19, #12]
	ldr	w8, [x20, #1528]
	str	w8, [x19, #20]
	cmp	w21, #255
	b.ne	LBB0_8
; %bb.6:
	cmp	w8, #255
	b.ne	LBB0_8
; %bb.7:
	mov	w21, #0
	str	xzr, [x19, #16]
LBB0_8:
	mov	w0, #1
	bl	_BIT
	tst	w0, w21
	cset	w8, ne
	str	w8, [x19, #24]
	ldr	w20, [x19, #20]
	mov	w0, #7
	bl	_BIT
	tst	w0, w20
	cset	w8, ne
LBB0_9:
	str	w8, [x19, #28]
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__rtl8821ae_read_pa_type
.subsections_via_symbols
