	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_dbg_message
_carl9170_dbg_message:                  ## @carl9170_dbg_message
	.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
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_CARL9170_RR_NO_REASON@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%ebx, %ebx
	cmpl	$4, %edx
	jl	LBB0_7
## %bb.1:
	movq	_CARL9170_ERR_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_memcmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movl	8(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%r15)
	xorl	%ebx, %ebx
	cmpl	$3, %eax
	setge	%al
	jl	LBB0_4
## %bb.3:
	movq	_CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_4:
	movb	%al, %bl
LBB0_5:
	movq	_CARL9170_BUG_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	incl	12(%r15)
	movq	_CARL9170_RR_FATAL_FIRMWARE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$1, %ebx
LBB0_7:
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movq	%r14, %rcx
	callq	_wiphy_info
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_carl9170_restart               ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CARL9170_RR_NO_REASON,4,2      ## @CARL9170_RR_NO_REASON
	.comm	_CARL9170_ERR_MAGIC,4,2         ## @CARL9170_ERR_MAGIC
	.comm	_CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS,4,2 ## @CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS
	.comm	_CARL9170_BUG_MAGIC,4,2         ## @CARL9170_BUG_MAGIC
	.comm	_CARL9170_RR_FATAL_FIRMWARE_ERROR,4,2 ## @CARL9170_RR_FATAL_FIRMWARE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FW: %.*s\n"

	.no_dead_strip	_carl9170_dbg_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_dbg_message
_carl9170_dbg_message:                  ; @carl9170_dbg_message
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CARL9170_RR_NO_REASON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CARL9170_RR_NO_REASON@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	cmp	w2, #4
	b.lt	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _CARL9170_ERR_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CARL9170_ERR_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #3
	bl	_memcmp
	cbz	x0, LBB0_4
; %bb.2:
	mov	w23, #0
	b	LBB0_5
LBB0_3:
	mov	w23, #0
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19, #8]
Lloh6:
	adrp	x9, _CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, #2
	csel	w22, w9, w22, gt
	cset	w23, gt
LBB0_5:
Lloh9:
	adrp	x8, _CARL9170_BUG_MAGIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CARL9170_BUG_MAGIC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #3
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
Lloh12:
	adrp	x8, _CARL9170_RR_FATAL_FIRMWARE_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CARL9170_RR_FATAL_FIRMWARE_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	w23, #1
LBB0_7:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_wiphy_info
	cbz	w23, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_carl9170_restart
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CARL9170_RR_NO_REASON,4,2      ; @CARL9170_RR_NO_REASON
	.comm	_CARL9170_ERR_MAGIC,4,2         ; @CARL9170_ERR_MAGIC
	.comm	_CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS,4,2 ; @CARL9170_RR_TOO_MANY_FIRMWARE_ERRORS
	.comm	_CARL9170_BUG_MAGIC,4,2         ; @CARL9170_BUG_MAGIC
	.comm	_CARL9170_RR_FATAL_FIRMWARE_ERROR,4,2 ; @CARL9170_RR_FATAL_FIRMWARE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FW: %.*s\n"

	.no_dead_strip	_carl9170_dbg_message
.subsections_via_symbols
