	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_service_message                ## -- Begin function service_message
	.p2align	4, 0x90
_service_message:                       ## @service_message
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_CASPER_SERVICE_NO_UNIQ_LIMITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_NV_FLAG_NO_UNIQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rsi, %rdi
	callq	_service_connection_get_chan
	movl	%eax, %edi
	callq	_cap_recv_nvlist
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	andl	-52(%rbp), %r14d                ## 4-byte Folded Reload
	cmovel	%r14d, %ebx
	movl	%ebx, %edi
	callq	_nvlist_create
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_nvlist_get_string
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	movq	%r15, %r14
	je	LBB0_6
## %bb.2:
	movq	%r14, %r15
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_9
## %bb.3:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	16(%r14), %r14
	movq	%r13, %rdi
	callq	_service_connection_get_limits
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rbx
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	*%r14
	movq	%r15, %r14
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_5:
	movq	%r12, %rdi
	movq	%r13, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_service_connection_remove      ## TAILCALL
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_nvlist_take_nvlist
	movq	%rax, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.7:
	movq	%r13, %rdi
	callq	_service_connection_get_limits
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	*%rbx
	movl	%eax, %ebx
	testl	%ebx, %ebx
	je	LBB0_14
LBB0_8:
	movq	%r15, %rdi
	callq	_nvlist_destroy
	jmp	LBB0_18
LBB0_9:
	movq	%r13, %rdi
	callq	_service_connection_get_limits
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	%rax, %rdx
	callq	_nvlist_add_nvlist
	jmp	LBB0_16
LBB0_11:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_service_connection_clone
	cmpl	$-1, %eax
	je	LBB0_21
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_nvlist_move_descriptor
	jmp	LBB0_16
LBB0_13:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_8
LBB0_14:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_service_connection_set_limits
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_15:
	callq	_nvlist_add_null
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%r15, %r14
LBB0_18:
	movq	%r14, %rdi
	callq	_nvlist_destroy
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_nvlist_add_number
	movq	%r13, %rdi
	callq	_service_connection_get_chan
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_cap_send_nvlist
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_service_connection_remove
LBB0_20:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvlist_destroy                 ## TAILCALL
LBB0_21:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_CASPER_SERVICE_NO_UNIQ_LIMITS,4,2 ## @CASPER_SERVICE_NO_UNIQ_LIMITS
	.comm	_NV_FLAG_NO_UNIQUE,4,2          ## @NV_FLAG_NO_UNIQUE
	.comm	_EDOOFUS,4,2                    ## @EDOOFUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd"

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

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

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.3:                               ## @.str.3
	.asciz	"limit_get"

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

	.comm	_errno,4,2                      ## @errno
L_.str.5:                               ## @.str.5
	.asciz	"sock"

L_.str.6:                               ## @.str.6
	.asciz	"error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_service_message                ; -- Begin function service_message
	.p2align	2
_service_message:                       ; @service_message
	.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, x1
	mov	x20, x0
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _CASPER_SERVICE_NO_UNIQ_LIMITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CASPER_SERVICE_NO_UNIQ_LIMITS@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _NV_FLAG_NO_UNIQUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NV_FLAG_NO_UNIQUE@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x0, x1
	bl	_service_connection_get_chan
	bl	_cap_recv_nvlist
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	tst	w23, w21
	csel	w0, wzr, w24, eq
	bl	_nvlist_create
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_nvlist_get_string
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.2:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.3:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x24, [x20, #16]
	mov	x0, x19
	bl	_service_connection_get_limits
	mov	x1, x0
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	blr	x24
	mov	x23, x0
	b	LBB0_17
LBB0_5:
	mov	x0, x20
	mov	x1, 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
	b	_service_connection_remove
LBB0_6:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_nvlist_take_nvlist
	mov	x24, x0
	ldr	x23, [x20, #8]
	cbz	x23, LBB0_13
; %bb.7:
	mov	x0, x19
	bl	_service_connection_get_limits
	mov	x1, x24
	blr	x23
	mov	x23, x0
	cbz	w23, LBB0_14
LBB0_8:
	mov	x0, x24
	bl	_nvlist_destroy
	b	LBB0_17
LBB0_9:
	mov	x0, x19
	bl	_service_connection_get_limits
	cbz	x0, LBB0_15
; %bb.10:
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_nvlist_add_nvlist
	mov	w23, #0
	b	LBB0_17
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_service_connection_clone
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.12:
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_nvlist_move_descriptor
	mov	w23, #0
	b	LBB0_17
LBB0_13:
Lloh20:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh22:
	ldr	w23, [x8]
	cbnz	w23, LBB0_8
LBB0_14:
	mov	x0, x19
	mov	x1, x24
	bl	_service_connection_set_limits
	b	LBB0_17
LBB0_15:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_nvlist_add_null
	mov	w23, #0
	b	LBB0_17
LBB0_16:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w23, [x8]
LBB0_17:
	mov	x0, x22
	bl	_nvlist_destroy
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_nvlist_add_number
	mov	x0, x19
	bl	_service_connection_get_chan
	mov	x1, x21
	bl	_cap_send_nvlist
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x20
	mov	x1, x19
	bl	_service_connection_remove
LBB0_19:
	mov	x0, x21
	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
	b	_nvlist_destroy
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CASPER_SERVICE_NO_UNIQ_LIMITS,4,2 ; @CASPER_SERVICE_NO_UNIQ_LIMITS
	.comm	_NV_FLAG_NO_UNIQUE,4,2          ; @NV_FLAG_NO_UNIQUE
	.comm	_EDOOFUS,4,2                    ; @EDOOFUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd"

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

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

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.3:                               ; @.str.3
	.asciz	"limit_get"

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

	.comm	_errno,4,2                      ; @errno
l_.str.5:                               ; @.str.5
	.asciz	"sock"

l_.str.6:                               ; @.str.6
	.asciz	"error"

.subsections_via_symbols
