	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function le_set_scan_response
_le_set_scan_response:                  ## @le_set_scan_response
	.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
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %r14d
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NG_HCI_ADVERTISING_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	%ebx, -52(%rbp)
	leaq	-52(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_parse_param
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-52(%rbp), %edx
	movl	%edx, -80(%rbp)
	movq	%r13, %rsi
	callq	_memcpy
	movl	$4, -56(%rbp)
	movq	_NG_HCI_OGF_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_HCI_OPCODE
	leaq	-80(%rbp), %rdx
	leaq	-64(%rbp), %r8
	leaq	-56(%rbp), %r9
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$8, %ecx
	callq	_hci_request
	movl	-64(%rbp), %edx
	movl	-56(%rbp), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movq	_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_HCI_ADVERTISING_DATA_SIZE,4,2 ## @NG_HCI_ADVERTISING_DATA_SIZE
	.comm	_NG_HCI_OGF_LE,4,2              ## @NG_HCI_OGF_LE
	.comm	_NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA,4,2 ## @NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SET SCAN RESPONSE %d %d %d\n"

	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_le_set_scan_response
.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_response
_le_set_scan_response:                  ; @le_set_scan_response
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _NG_HCI_ADVERTISING_DATA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_HCI_ADVERTISING_DATA_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	stur	w8, [x29, #-64]
	sub	x3, x29, #64
	mov	x0, x1
	mov	x1, x2
	mov	x2, x20
	bl	_parse_param
	mov	w22, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldur	w2, [x29, #-64]
	stur	w2, [x29, #-48]
	mov	x1, x20
	bl	_memcpy
	stur	w22, [x29, #-60]
Lloh8:
	adrp	x8, _NG_HCI_OGF_LE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NG_HCI_OGF_LE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_NG_HCI_OPCODE
	mov	x1, x0
	sub	x2, x29, #48
	sub	x4, x29, #56
	sub	x5, x29, #60
	mov	x0, x19
	mov	w3, #8
	bl	_hci_request
	mov	x1, x0
	ldp	w3, w2, [x29, #-60]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh16:
	adrp	x8, _OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	sp, x21
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	sub	sp, x29, #32
	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
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_HCI_ADVERTISING_DATA_SIZE,4,2 ; @NG_HCI_ADVERTISING_DATA_SIZE
	.comm	_NG_HCI_OGF_LE,4,2              ; @NG_HCI_OGF_LE
	.comm	_NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA,4,2 ; @NG_HCI_OCF_LE_SET_SCAN_RESPONSE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SET SCAN RESPONSE %d %d %d\n"

	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_le_set_scan_response
.subsections_via_symbols
