	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_cmd_scan_set_dwell
_qtnf_cmd_scan_set_dwell:               ## @qtnf_cmd_scan_set_dwell
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rdi), %rax
	movq	_QTNF_SCAN_SAMPLE_DURATION_DEFAULT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	8(%rax), %rbx
	movq	%rbx, %r12
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_QTNF_SCAN_DWELL_ACTIVE_DEFAULT@GOTPCREL(%rip), %rcx
	movq	_QTNF_SCAN_DWELL_PASSIVE_DEFAULT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	movq	(%rcx), %r12
LBB0_2:
	movl	(%rdi), %esi
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rcx
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_pr_debug
	movq	_QTN_TLV_ID_SCAN_DWELL_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_qtnf_cmd_skb_put_tlv_u16
	movq	_QTN_TLV_ID_SCAN_DWELL_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_qtnf_cmd_skb_put_tlv_u16
	movq	_QTN_TLV_ID_SCAN_SAMPLE_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qtnf_cmd_skb_put_tlv_u16       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QTNF_SCAN_DWELL_ACTIVE_DEFAULT,8,3 ## @QTNF_SCAN_DWELL_ACTIVE_DEFAULT
	.comm	_QTNF_SCAN_DWELL_PASSIVE_DEFAULT,8,3 ## @QTNF_SCAN_DWELL_PASSIVE_DEFAULT
	.comm	_QTNF_SCAN_SAMPLE_DURATION_DEFAULT,8,3 ## @QTNF_SCAN_SAMPLE_DURATION_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC%u: %s scan dwell active=%u, passive=%u, duration=%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"mandatory"

L_.str.2:                               ## @.str.2
	.asciz	"max"

	.comm	_QTN_TLV_ID_SCAN_DWELL_ACTIVE,4,2 ## @QTN_TLV_ID_SCAN_DWELL_ACTIVE
	.comm	_QTN_TLV_ID_SCAN_DWELL_PASSIVE,4,2 ## @QTN_TLV_ID_SCAN_DWELL_PASSIVE
	.comm	_QTN_TLV_ID_SCAN_SAMPLE_DURATION,4,2 ## @QTN_TLV_ID_SCAN_SAMPLE_DURATION
	.no_dead_strip	_qtnf_cmd_scan_set_dwell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_cmd_scan_set_dwell
_qtnf_cmd_scan_set_dwell:               ; @qtnf_cmd_scan_set_dwell
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _QTNF_SCAN_DWELL_ACTIVE_DEFAULT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QTNF_SCAN_DWELL_ACTIVE_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _QTNF_SCAN_DWELL_PASSIVE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QTNF_SCAN_DWELL_PASSIVE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _QTNF_SCAN_SAMPLE_DURATION_DEFAULT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _QTNF_SCAN_SAMPLE_DURATION_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x11]
	ldp	x8, x11, [x8]
	cmp	x11, #0
	csel	x21, x10, x11, eq
	csel	x22, x9, x11, eq
	ldr	w1, [x0]
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh11:
	adrp	x10, l_.str.2@PAGE
Lloh12:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_pr_debug
Lloh15:
	adrp	x8, _QTN_TLV_ID_SCAN_DWELL_ACTIVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QTN_TLV_ID_SCAN_DWELL_ACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_qtnf_cmd_skb_put_tlv_u16
Lloh18:
	adrp	x8, _QTN_TLV_ID_SCAN_DWELL_PASSIVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QTN_TLV_ID_SCAN_DWELL_PASSIVE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_qtnf_cmd_skb_put_tlv_u16
Lloh21:
	adrp	x8, _QTN_TLV_ID_SCAN_SAMPLE_DURATION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QTN_TLV_ID_SCAN_SAMPLE_DURATION@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_qtnf_cmd_skb_put_tlv_u16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QTNF_SCAN_DWELL_ACTIVE_DEFAULT,8,3 ; @QTNF_SCAN_DWELL_ACTIVE_DEFAULT
	.comm	_QTNF_SCAN_DWELL_PASSIVE_DEFAULT,8,3 ; @QTNF_SCAN_DWELL_PASSIVE_DEFAULT
	.comm	_QTNF_SCAN_SAMPLE_DURATION_DEFAULT,8,3 ; @QTNF_SCAN_SAMPLE_DURATION_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC%u: %s scan dwell active=%u, passive=%u, duration=%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"mandatory"

l_.str.2:                               ; @.str.2
	.asciz	"max"

	.comm	_QTN_TLV_ID_SCAN_DWELL_ACTIVE,4,2 ; @QTN_TLV_ID_SCAN_DWELL_ACTIVE
	.comm	_QTN_TLV_ID_SCAN_DWELL_PASSIVE,4,2 ; @QTN_TLV_ID_SCAN_DWELL_PASSIVE
	.comm	_QTN_TLV_ID_SCAN_SAMPLE_DURATION,4,2 ; @QTN_TLV_ID_SCAN_SAMPLE_DURATION
	.no_dead_strip	_qtnf_cmd_scan_set_dwell
.subsections_via_symbols
