	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_common_profile_create_bluetooth_profile_descriptor_list ## -- Begin function common_profile_create_bluetooth_profile_descriptor_list
	.p2align	4, 0x90
_common_profile_create_bluetooth_profile_descriptor_list: ## @common_profile_create_bluetooth_profile_descriptor_list
	.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
	movl	%ecx, %r14d
	leal	-128(%r14), %ecx
	movl	$-1, %eax
	cmpl	$-124, %ecx
	jb	LBB0_5
## %bb.1:
	movq	%rdi, %r15
	sarl	$2, %r14d
	leal	(,%r14,8), %r12d
	movslq	%r12d, %rcx
	leaq	(%rdi,%rcx,4), %rcx
	addq	$8, %rcx
	cmpq	%rsi, %rcx
	ja	LBB0_5
## %bb.2:
	movq	%rdx, %rbx
	movq	_SDP_DATA_SEQ8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_SDP_PUT8
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_SDP_PUT8
	incl	%r14d
	movq	_SDP_DATA_UUID16@GOTPCREL(%rip), %r12
	movq	_SDP_DATA_UINT16@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SDP_DATA_SEQ8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_SDP_PUT8
	movl	$6, %edi
	movq	%r15, %rsi
	callq	_SDP_PUT8
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_SDP_PUT8
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_SDP_PUT16
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_SDP_PUT8
	movl	16(%rbx), %edi
	movq	%r15, %rsi
	callq	_SDP_PUT16
	decl	%r14d
	addq	$32, %rbx
	cmpl	$1, %r14d
	jg	LBB0_3
## %bb.4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	orl	$2, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDP_DATA_SEQ8,4,2              ## @SDP_DATA_SEQ8
	.comm	_SDP_DATA_UUID16,4,2            ## @SDP_DATA_UUID16
	.comm	_SDP_DATA_UINT16,4,2            ## @SDP_DATA_UINT16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_common_profile_create_bluetooth_profile_descriptor_list ; -- Begin function common_profile_create_bluetooth_profile_descriptor_list
	.p2align	2
_common_profile_create_bluetooth_profile_descriptor_list: ; @common_profile_create_bluetooth_profile_descriptor_list
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	sub	w8, w3, #128
	mov	w0, #-1
	cmn	w8, #124
	b.lo	LBB0_5
; %bb.1:
	asr	w23, w3, #2
	lsl	w21, w23, #3
	add	x8, x20, w21, sxtw #2
	add	x8, x8, #8
	cmp	x8, x1
	b.hi	LBB0_5
; %bb.2:
	mov	x19, x2
Lloh0:
	adrp	x22, _SDP_DATA_SEQ8@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SDP_DATA_SEQ8@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_SDP_PUT8
	mov	x0, x21
	mov	x1, x20
	bl	_SDP_PUT8
	add	w23, w23, #1
Lloh2:
	adrp	x24, _SDP_DATA_UUID16@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SDP_DATA_UUID16@GOTPAGEOFF]
Lloh4:
	adrp	x25, _SDP_DATA_UINT16@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SDP_DATA_UINT16@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x20
	bl	_SDP_PUT8
	mov	w0, #6
	mov	x1, x20
	bl	_SDP_PUT8
	ldr	w0, [x24]
	mov	x1, x20
	bl	_SDP_PUT8
	ldr	w0, [x19]
	mov	x1, x20
	bl	_SDP_PUT16
	ldr	w0, [x25]
	mov	x1, x20
	bl	_SDP_PUT8
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_SDP_PUT16
	sub	w23, w23, #1
	add	x19, x19, #32
	cmp	w23, #1
	b.gt	LBB0_3
; %bb.4:
	orr	w0, w21, #0x2
LBB0_5:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDP_DATA_SEQ8,4,2              ; @SDP_DATA_SEQ8
	.comm	_SDP_DATA_UUID16,4,2            ; @SDP_DATA_UUID16
	.comm	_SDP_DATA_UINT16,4,2            ; @SDP_DATA_UINT16
.subsections_via_symbols
