	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at76_dump_mib_phy
_at76_dump_mib_phy:                     ## @at76_dump_mib_phy
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	8(%r14), %edi
	movq	_MIB_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	movl	$56, %ecx
	callq	_at76_get_mib
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	_DBG_MIB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_wiphy_name
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	48(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	44(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	40(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	36(%rbx), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	32(%rbx), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	28(%rbx), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rcx
	movl	(%rcx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	4(%rcx), %r11d
	movl	8(%rcx), %r13d
	movl	12(%rcx), %r15d
	movl	12(%rbx), %r12d
	movl	8(%rbx), %r14d
	movl	(%rbx), %r10d
	movl	4(%rbx), %eax
	leaq	L_.str.1(%rip), %rsi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r10
	pushq	%rax
	pushq	%r14
	pushq	%r12
	pushq	%r15
	pushq	%r13
	pushq	%r11
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_at76_dbg
	addq	$96, %rsp
	jmp	LBB0_4
LBB0_5:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r14), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_wiphy_err
LBB0_4:
	movq	%rbx, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_MIB_PHY,4,2                    ## @MIB_PHY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"at76_get_mib (PHY) failed: %d\n"

	.comm	_DBG_MIB,4,2                    ## @DBG_MIB
L_.str.1:                               ## @.str.1
	.asciz	"%s: MIB PHY: ed_threshold %d slot_time %d sifs_time %d preamble_length %d plcp_header_length %d mpdu_max_length %d cca_mode_supported %d operation_rate_set 0x%x 0x%x 0x%x 0x%x channel_id %d current_cca_mode %d phy_type %d current_reg_domain %d"

	.no_dead_strip	_at76_dump_mib_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at76_dump_mib_phy
_at76_dump_mib_phy:                     ; @at76_dump_mib_phy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x21, #8]
Lloh3:
	adrp	x8, _MIB_PHY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIB_PHY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	mov	w3, #56
	bl	_at76_get_mib
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _DBG_MIB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DBG_MIB@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_wiphy_name
	mov	x21, x0
	ldr	w0, [x19, #48]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x19, #44]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w0, [x19, #40]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	w0, [x19, #36]
	bl	_le16_to_cpu
	mov	x25, x0
	ldr	w0, [x19, #32]
	bl	_le16_to_cpu
	mov	x26, x0
	ldr	w0, [x19, #28]
	bl	_le16_to_cpu
	mov	x27, x0
	ldr	w0, [x19, #24]
	bl	_le16_to_cpu
	ldr	x8, [x19, #16]
	ldr	q0, [x8]
	ldp	w9, w8, [x19, #8]
	ldp	w11, w10, [x19]
	stp	w10, w11, [sp, #32]
	stp	w8, w9, [sp, #24]
	stur	q0, [sp, #8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	stp	w27, w0, [sp]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	mov	x7, x26
	bl	_at76_dbg
	b	LBB0_5
LBB0_3:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	mov	x2, x0
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wiphy_err
LBB0_5:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_MIB_PHY,4,2                    ; @MIB_PHY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"at76_get_mib (PHY) failed: %d\n"

	.comm	_DBG_MIB,4,2                    ; @DBG_MIB
l_.str.1:                               ; @.str.1
	.asciz	"%s: MIB PHY: ed_threshold %d slot_time %d sifs_time %d preamble_length %d plcp_header_length %d mpdu_max_length %d cca_mode_supported %d operation_rate_set 0x%x 0x%x 0x%x 0x%x channel_id %d current_cca_mode %d phy_type %d current_reg_domain %d"

	.no_dead_strip	_at76_dump_mib_phy
.subsections_via_symbols
