	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_cmd_check_reply_header
_qtnf_cmd_check_reply_header:           ## @qtnf_cmd_check_reply_header
	.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	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_le16_to_cpu
	xorl	%edi, %edi
	cmpq	%r13, %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	%rax, %r8
	jmp	LBB0_5
LBB0_2:
	xorl	%edi, %edi
	cmpq	%r15, (%rbx)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %r8
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	xorl	%edi, %edi
	cmpq	%r14, 8(%rbx)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %r8
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
LBB0_5:
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	16(%rbx), %edi
	callq	_le16_to_cpu
	xorl	%edi, %edi
	cmpq	%r12, %rax
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	16(%rbx), %edi
	callq	_le16_to_cpu
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	%rax, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_pr_warn
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIF%u.%u CMD%x: bad cmd_id in response: 0x%.4X\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"VIF%u.%u CMD%x: bad MAC in response: %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"VIF%u.%u CMD%x: bad VIF in response: %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"VIF%u.%u CMD%x: bad response size %u < %zu\n"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_qtnf_cmd_check_reply_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_cmd_check_reply_header
_qtnf_cmd_check_reply_header:           ; @qtnf_cmd_check_reply_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	ldr	w0, [x0, #20]
	bl	_le16_to_cpu
	cmp	x0, x19
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x23, #20]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	ldr	x8, [x23]
	cmp	x8, x21
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x4, [x23]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	x8, [x23, #8]
	cmp	x8, x20
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x4, [x23, #8]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_pr_warn
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	ldr	w0, [x23, #16]
	bl	_le16_to_cpu
	cmp	x0, x22
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.10:
	ldr	w0, [x23, #16]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	str	x22, [sp]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_pr_warn
Lloh10:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIF%u.%u CMD%x: bad cmd_id in response: 0x%.4X\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"VIF%u.%u CMD%x: bad MAC in response: %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"VIF%u.%u CMD%x: bad VIF in response: %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"VIF%u.%u CMD%x: bad response size %u < %zu\n"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_qtnf_cmd_check_reply_header
.subsections_via_symbols
