	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_pod
_read_pod:                              ## @read_pod
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$36, %rdi
	callq	_mutex_is_locked
	movl	%eax, %edi
	callq	_ZD_ASSERT
	movq	_E2P_POD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_zd_ioread32_locked
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movl	$0, (%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movl	$0, 16(%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	%rbx, %rdi
	callq	_zd_chip_dev
	movl	-44(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_dev_dbg_f
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	andl	$15, %ecx
	movl	%ecx, (%r15)
	movl	%eax, %ecx
	shrl	$16, %ecx
	andl	$15, %ecx
	movl	%ecx, (%rbx)
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$1, %ecx
	movl	%ecx, 4(%rbx)
	movl	%eax, %ecx
	shrl	$13, %ecx
	andl	$1, %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, %ecx
	shrl	$21, %ecx
	andl	$1, %ecx
	movl	%ecx, 12(%rbx)
	movl	%eax, %ecx
	shrl	$31, %ecx
	movl	%ecx, 16(%rbx)
	movl	%eax, %ecx
	shrl	$7, %ecx
	andl	$1, %ecx
	movl	%ecx, 20(%rbx)
	movq	_LED1@GOTPCREL(%rip), %r13
	movq	%r13, %rcx
	testb	$16, %al
	jne	LBB0_3
## %bb.2:
	movq	_LED2@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rbx)
	notl	%eax
	xorl	%ecx, %ecx
	testl	$553648128, %eax                ## imm = 0x21000000
	setne	%cl
	movl	%ecx, 32(%rbx)
	movq	%rbx, %rdi
	callq	_zd_chip_dev
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_zd_rf_name
	movl	(%r15), %ecx
	movl	(%rbx), %r8d
	movl	4(%rbx), %r9d
	movl	8(%rbx), %r10d
	movl	12(%rbx), %r11d
	movl	16(%rbx), %r15d
	movq	24(%rbx), %rdx
	xorl	%esi, %esi
	cmpq	(%r13), %rdx
	sete	%sil
	movl	$2, %r13d
	subl	%esi, %r13d
	movl	32(%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r13
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_dev_dbg_f
	addq	$48, %rsp
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E2P_POD,4,2                    ## @E2P_POD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"E2P_POD %#010x\n"

	.comm	_LED1,8,3                       ## @LED1
	.comm	_LED2,8,3                       ## @LED2
L_.str.1:                               ## @.str.1
	.asciz	"RF %s %#01x PA type %#01x patch CCK %d patch CR157 %d patch 6M %d new PHY %d link LED%d tx led %d\n"

	.no_dead_strip	_read_pod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function read_pod
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.long	4294967283                      ; 0xfffffff3
	.long	4294967275                      ; 0xffffffeb
lCPI0_1:
	.long	15                              ; 0xf
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_read_pod:                              ; @read_pod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x1
	mov	x20, x0
	add	x0, x0, #36
	bl	_mutex_is_locked
	bl	_ZD_ASSERT
Lloh0:
	adrp	x8, _E2P_POD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E2P_POD@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	sub	x1, x29, #52
	mov	x0, x20
	bl	_zd_ioread32_locked
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
	str	wzr, [x21]
	stp	xzr, xzr, [x20]
	str	wzr, [x20, #16]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_zd_chip_dev
	ldur	w2, [x29, #-52]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg_f
	ldur	w8, [x29, #-52]
	and	w9, w8, #0xf
	dup.4s	v0, w8
	str	w9, [x21]
Lloh5:
	adrp	x9, lCPI0_0@PAGE
Lloh6:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	ushl.4s	v0, v0, v1
Lloh7:
	adrp	x9, lCPI0_1@PAGE
Lloh8:
	ldr	q1, [x9, lCPI0_1@PAGEOFF]
	and.16b	v0, v0, v1
	str	q0, [x20]
	lsr	w9, w8, #31
	ubfx	w10, w8, #7, #1
	stp	w9, w10, [x20, #16]
Lloh9:
	adrp	x23, _LED1@GOTPAGE
Lloh10:
	ldr	x23, [x23, _LED1@GOTPAGEOFF]
Lloh11:
	adrp	x9, _LED2@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LED2@GOTPAGEOFF]
	tst	w8, #0x10
	csel	x9, x9, x23, eq
	ldr	x9, [x9]
	str	x9, [x20, #24]
	mov	w9, #553648128
	bics	wzr, w9, w8
	cset	w8, ne
	str	w8, [x20, #32]
	mov	x0, x20
	bl	_zd_chip_dev
	mov	x22, x0
	ldr	w0, [x21]
	bl	_zd_rf_name
	mov	x2, x0
	ldr	x8, [x20, #24]
	ldr	x9, [x23]
	ldr	w10, [x21]
	ldp	w11, w12, [x20]
	ldp	w13, w14, [x20, #8]
	ldr	w15, [x20, #16]
	ldr	w16, [x20, #32]
	cmp	x8, x9
	mov	w8, #1
	cinc	x8, x8, ne
	stp	x8, x16, [sp, #48]
	stp	x14, x15, [sp, #32]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	stp	x12, x13, [sp, #16]
	stp	x10, x11, [sp]
	mov	x0, x22
	bl	_dev_dbg_f
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_E2P_POD,4,2                    ; @E2P_POD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"E2P_POD %#010x\n"

	.comm	_LED1,8,3                       ; @LED1
	.comm	_LED2,8,3                       ; @LED2
l_.str.1:                               ; @.str.1
	.asciz	"RF %s %#01x PA type %#01x patch CCK %d patch CR157 %d patch 6M %d new PHY %d link LED%d tx led %d\n"

	.no_dead_strip	_read_pod
.subsections_via_symbols
