	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function le_set_scan_param
LCPI0_0:
	.quad	0x3fe4000000000000              ## double 0.625
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_le_set_scan_param:                     ## @le_set_scan_param
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$5, %esi
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movl	%edi, %r14d
	movq	(%rdx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_3:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_6:
	movq	8(%rbx), %rdi
	callq	_atof
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %r12d
	cmpl	$5, %r12d
	movl	$4, %r13d
	cmovll	%r13d, %r12d
	movq	16(%rbx), %rdi
	callq	_atof
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	cmpl	$4, %eax
	cmovgel	%r12d, %r13d
	movq	24(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	24(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.8:
	movl	$1, %r15d
LBB0_9:
	movq	32(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	32(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_1:
	movq	_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -72(%rbp)
	movl	%r12d, -68(%rbp)
	movl	%r15d, -64(%rbp)
	movl	%r13d, -60(%rbp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -56(%rbp)
	movl	$4, -52(%rbp)
	movq	_NG_HCI_OGF_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NG_HCI_OCF_LE_SET_SCAN_PARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_HCI_OPCODE
	leaq	-72(%rbp), %rdx
	leaq	-76(%rbp), %r8
	leaq	-52(%rbp), %r9
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$20, %ecx
	callq	_hci_request
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_USAGE,4,2                      ## @USAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"active"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"random"

L_.str.4:                               ## @.str.4
	.asciz	"all"

L_.str.5:                               ## @.str.5
	.asciz	"whitelist"

	.comm	_NG_HCI_OGF_LE,4,2              ## @NG_HCI_OGF_LE
	.comm	_NG_HCI_OCF_LE_SET_SCAN_PARAMETERS,4,2 ## @NG_HCI_OCF_LE_SET_SCAN_PARAMETERS
	.no_dead_strip	_le_set_scan_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function le_set_scan_param
_le_set_scan_param:                     ; @le_set_scan_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -72
	.cfi_offset b9, -80
	cmp	w1, #5
	b.ne	LBB0_11
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	x0, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.3:
	mov	w21, #0
	b	LBB0_5
LBB0_4:
	mov	w21, #1
LBB0_5:
	ldr	x0, [x20, #8]
	bl	_atof
	fmov	d8, #0.62500000
	fdiv	d0, d0, d8
	fcvtzs	w8, d0
	mov	w23, #4
	cmp	w8, #4
	csel	w22, w8, w23, gt
	ldr	x0, [x20, #16]
	bl	_atof
	fdiv	d0, d0, d8
	fcvtzs	w8, d0
	cmp	w8, #4
	csel	w23, w23, w22, lt
	ldr	x0, [x20, #24]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x20, #24]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.7:
	mov	w24, #1
	b	LBB0_9
LBB0_8:
	mov	w24, #0
LBB0_9:
	ldr	x0, [x20, #32]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x0, [x20, #32]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_14
LBB0_11:
Lloh12:
	adrp	x8, _USAGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _USAGE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	w8, #0
	b	LBB0_15
LBB0_14:
	mov	w8, #1
LBB0_15:
	stp	w21, w22, [sp, #8]
	stp	w24, w23, [sp, #16]
	str	w8, [sp, #24]
	mov	w8, #4
	str	w8, [sp, #28]
Lloh15:
	adrp	x8, _NG_HCI_OGF_LE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NG_HCI_OGF_LE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _NG_HCI_OCF_LE_SET_SCAN_PARAMETERS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NG_HCI_OCF_LE_SET_SCAN_PARAMETERS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_NG_HCI_OPCODE
	mov	x1, x0
	add	x2, sp, #8
	add	x4, sp, #4
	add	x5, sp, #28
	mov	x0, x19
	mov	w3, #20
	bl	_hci_request
	mov	w0, #0
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_USAGE,4,2                      ; @USAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"active"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"random"

l_.str.4:                               ; @.str.4
	.asciz	"all"

l_.str.5:                               ; @.str.5
	.asciz	"whitelist"

	.comm	_NG_HCI_OGF_LE,4,2              ; @NG_HCI_OGF_LE
	.comm	_NG_HCI_OCF_LE_SET_SCAN_PARAMETERS,4,2 ; @NG_HCI_OCF_LE_SET_SCAN_PARAMETERS
	.no_dead_strip	_le_set_scan_param
.subsections_via_symbols
