	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_le_event_mask
_set_le_event_mask:                     ## @set_le_event_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	$4, -12(%rbp)
	movq	_NG_HCI_LE_EVENT_MASK_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rax
	jmp	LBB0_2
LBB0_3:
	movl	%edi, %ebx
	movq	_NG_HCI_OGF_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NG_HCI_OCF_LE_SET_EVENT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_HCI_OPCODE
	leaq	-24(%rbp), %rdx
	leaq	-16(%rbp), %r8
	leaq	-12(%rbp), %r9
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$8, %ecx
	callq	_hci_request
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_HCI_LE_EVENT_MASK_SIZE,4,2  ## @NG_HCI_LE_EVENT_MASK_SIZE
	.comm	_NG_HCI_OGF_LE,4,2              ## @NG_HCI_OGF_LE
	.comm	_NG_HCI_OCF_LE_SET_EVENT_MASK,4,2 ## @NG_HCI_OCF_LE_SET_EVENT_MASK
	.no_dead_strip	_set_le_event_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_le_event_mask
_set_le_event_mask:                     ; @set_le_event_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	w8, #4
	str	w8, [sp]
Lloh0:
	adrp	x8, _NG_HCI_LE_EVENT_MASK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NG_HCI_LE_EVENT_MASK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, #1
	b	LBB0_2
LBB0_3:
	mov	x19, x0
Lloh3:
	adrp	x8, _NG_HCI_OGF_LE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_HCI_OGF_LE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _NG_HCI_OCF_LE_SET_EVENT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NG_HCI_OCF_LE_SET_EVENT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_NG_HCI_OPCODE
	mov	x1, x0
	add	x2, sp, #8
	add	x4, sp, #4
	mov	x5, sp
	mov	x0, x19
	mov	w3, #8
	bl	_hci_request
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_HCI_LE_EVENT_MASK_SIZE,4,2  ; @NG_HCI_LE_EVENT_MASK_SIZE
	.comm	_NG_HCI_OGF_LE,4,2              ; @NG_HCI_OGF_LE
	.comm	_NG_HCI_OCF_LE_SET_EVENT_MASK,4,2 ; @NG_HCI_OCF_LE_SET_EVENT_MASK
	.no_dead_strip	_set_le_event_mask
.subsections_via_symbols
