	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_ordinals
_show_ordinals:                         ## @show_ordinals
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movl	$0, -44(%rbp)
	movq	_STATUS_RF_KILL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%r15)
	jne	LBB0_10
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	_show_ordinals.loop(%rip), %ebx
	movq	_ord_data@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jl	LBB0_3
## %bb.2:
	movl	$0, _show_ordinals.loop(%rip)
LBB0_3:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$129, (%rax)
	jl	LBB0_10
## %bb.4:
	movl	_show_ordinals.loop(%rip), %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %ecx
	movq	8(%rbx,%rsi), %r8
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %r14d
	movl	_show_ordinals.loop(%rip), %r13d
	incl	%r13d
	movl	%r13d, _show_ordinals.loop(%rip)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	%eax, %r14d
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r13d
	jge	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$4, -48(%rbp)
	movq	(%r12), %rax
	movslq	_show_ordinals.loop(%rip), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %esi
	movq	%r15, %rdi
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_ipw2100_get_ordinal
	movslq	%r14d, %rdi
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	movslq	_show_ordinals.loop(%rip), %rsi
	shlq	$4, %rsi
	movq	(%r12), %rbx
	movl	(%rbx,%rsi), %edx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx,%rsi), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_9
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_show_ordinals.loop,4,2 ## @show_ordinals.loop
	.comm	_STATUS_RF_KILL_MASK,4,2        ## @STATUS_RF_KILL_MASK
	.comm	_ord_data,8,3                   ## @ord_data
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[0x%02X] = ERROR    %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"[0x%02X] = 0x%08X %s\n"

	.no_dead_strip	_show_ordinals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_ordinals
_show_ordinals:                         ; @show_ordinals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	bl	_dev_get_drvdata
	mov	w21, #0
	str	wzr, [sp, #28]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _STATUS_RF_KILL_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STATUS_RF_KILL_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.1:
	mov	x20, x0
	adrp	x24, _show_ordinals.loop@PAGE
	ldr	w21, [x24, _show_ordinals.loop@PAGEOFF]
Lloh3:
	adrp	x25, _ord_data@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ord_data@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	w21, w0
	b.lt	LBB0_3
; %bb.2:
	str	wzr, [x24, _show_ordinals.loop@PAGEOFF]
LBB0_3:
Lloh5:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #129
	b.lt	LBB0_10
; %bb.4:
	mov	w21, #0
	ldr	w28, [x24, _show_ordinals.loop@PAGEOFF]
	mov	w27, #4
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh9:
	adrp	x23, l_.str@PAGE
Lloh10:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x9, x10, lsl #4
	ldr	x8, [x8, #8]
	ldr	w9, [sp, #28]
	stp	x9, x8, [sp]
	mov	x1, x22
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_sprintf
	ldr	w8, [x24, _show_ordinals.loop@PAGEOFF]
	add	w28, w8, #1
	str	w28, [x24, _show_ordinals.loop@PAGEOFF]
	ldr	w8, [x26]
	sub	w8, w8, #128
	add	w21, w21, w0
	cmp	w21, w8
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	w28, w0
	b.ge	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w27, [sp, #24]
	ldr	x8, [x25]
	ldrsw	x9, [x24, _show_ordinals.loop@PAGEOFF]
	lsl	x9, x9, #4
	ldr	w1, [x8, x9]
	add	x2, sp, #28
	add	x3, sp, #24
	mov	x0, x20
	bl	_ipw2100_get_ordinal
	mov	x8, x0
	add	x0, x19, w21, sxtw
	ldr	x9, [x25]
	ldrsw	x10, [x24, _show_ordinals.loop@PAGEOFF]
	lsl	x11, x10, #4
	ldr	w2, [x9, x11]
	cbz	x8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x9, x10, lsl #4
	ldr	x8, [x8, #8]
	str	x8, [sp]
	mov	x1, x23
	b	LBB0_6
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_show_ordinals.loop,4,2 ; @show_ordinals.loop
	.comm	_STATUS_RF_KILL_MASK,4,2        ; @STATUS_RF_KILL_MASK
	.comm	_ord_data,8,3                   ; @ord_data
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[0x%02X] = ERROR    %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"[0x%02X] = 0x%08X %s\n"

	.no_dead_strip	_show_ordinals
.subsections_via_symbols
