	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srpt_get_svc_entries
_srpt_get_svc_entries:                  ## @srpt_get_svc_entries
	.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
	movq	%r8, %r14
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movl	%edi, %r15d
	xorl	%edi, %edi
	testl	%r15d, %r15d
	sete	%dil
	callq	_WARN_ON
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	cmpl	$17, %ebx
	jge	LBB0_2
## %bb.4:
	cmpl	$2, %ebx
	jg	LBB0_7
## %bb.5:
	cmpl	$1, %r13d
	jg	LBB0_7
## %bb.6:
	cmpl	%r13d, %r12d
	jg	LBB0_7
## %bb.8:
	movq	8(%r14), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%r15d, %edi
	callq	_cpu_to_be64
	movq	(%r12), %rcx
	movl	%eax, 4(%rcx)
	movl	(%rcx), %edi
	movq	_SRP_SERVICE_NAME_PREFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	movl	%r15d, %r8d
	callq	_snprintf
	jmp	LBB0_9
LBB0_2:
	movq	_DM_MAD_STATUS_INVALID_FIELD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_DM_MAD_STATUS_NO_IOC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%rax, %rbx
LBB0_9:
	movq	%rbx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_MAD_STATUS_INVALID_FIELD,4,2 ## @DM_MAD_STATUS_INVALID_FIELD
	.comm	_DM_MAD_STATUS_NO_IOC,4,2       ## @DM_MAD_STATUS_NO_IOC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%016llx"

	.comm	_SRP_SERVICE_NAME_PREFIX,8,3    ## @SRP_SERVICE_NAME_PREFIX
	.no_dead_strip	_srpt_get_svc_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srpt_get_svc_entries
_srpt_get_svc_entries:                  ; @srpt_get_svc_entries
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	w23, LBB0_6
; %bb.1:
	cmp	w23, #17
	b.ge	LBB0_6
; %bb.2:
	cmp	w23, #2
	b.gt	LBB0_7
; %bb.3:
	cmp	w22, #1
	b.gt	LBB0_7
; %bb.4:
	cmp	w21, w22
	b.gt	LBB0_7
; %bb.5:
	ldr	x21, [x19, #8]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x20
	bl	_cpu_to_be64
	ldr	x8, [x21]
	str	w0, [x8, #4]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _SRP_SERVICE_NAME_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SRP_SERVICE_NAME_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	x3, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	mov	x4, x20
	bl	_snprintf
	mov	x0, #0
	b	LBB0_9
LBB0_6:
Lloh5:
	adrp	x8, _DM_MAD_STATUS_INVALID_FIELD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DM_MAD_STATUS_INVALID_FIELD@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _DM_MAD_STATUS_NO_IOC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DM_MAD_STATUS_NO_IOC@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	bl	_cpu_to_be16
LBB0_9:
	str	x0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_MAD_STATUS_INVALID_FIELD,4,2 ; @DM_MAD_STATUS_INVALID_FIELD
	.comm	_DM_MAD_STATUS_NO_IOC,4,2       ; @DM_MAD_STATUS_NO_IOC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%016llx"

	.comm	_SRP_SERVICE_NAME_PREFIX,8,3    ; @SRP_SERVICE_NAME_PREFIX
	.no_dead_strip	_srpt_get_svc_entries
.subsections_via_symbols
