	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_set_traced                 ## -- Begin function inf_set_traced
	.p2align	4, 0x90
_inf_set_traced:                        ## @inf_set_traced
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	%esi, (%rdi)
	je	LBB0_8
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	cmpl	$0, (%rax)
	je	LBB0_3
LBB0_7:
	movl	%r14d, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%ecx, %ecx
	movl	%r14d, %eax
	negl	%eax
	sbbl	%ecx, %ecx
	movq	_msgport@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_refport@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INIT_TRACEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_msg_set_init_int
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_INF_RESUME_MSGPORT_RPC
	movq	_EIEIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
	callq	_warning
	jmp	LBB0_7
LBB0_6:
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movl	4(%rbx), %ebx
	movq	%rax, %rdi
	callq	_safe_strerror
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_warning                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_msgport,4,2                    ## @msgport
	.comm	_refport,4,2                    ## @refport
	.comm	_INIT_TRACEMASK,4,2             ## @INIT_TRACEMASK
	.comm	_EIEIO,8,3                      ## @EIEIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't modify tracing state for pid %d: %s"

L_.str.1:                               ## @.str.1
	.asciz	"No signal thread"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_set_traced                 ; -- Begin function inf_set_traced
	.p2align	2
_inf_set_traced:                        ; @inf_set_traced
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, w1
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
LBB0_3:
	str	w20, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w20, #0
	csetm	w3, ne
Lloh0:
	adrp	x8, _msgport@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msgport@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _refport@GOTPAGE
Lloh4:
	ldr	x8, [x8, _refport@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _INIT_TRACEMASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INIT_TRACEMASK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_msg_set_init_int
	mov	x1, x0
	mov	x0, x19
	bl	_INF_RESUME_MSGPORT_RPC
Lloh9:
	adrp	x8, _EIEIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIEIO@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	cbz	w20, LBB0_3
; %bb.7:
	ldr	w1, [x19, #4]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_warning
	b	LBB0_3
LBB0_8:
	cbz	x0, LBB0_3
; %bb.9:
	ldr	w19, [x19, #4]
	bl	_safe_strerror
	mov	x2, x0
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_warning
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_msgport,4,2                    ; @msgport
	.comm	_refport,4,2                    ; @refport
	.comm	_INIT_TRACEMASK,4,2             ; @INIT_TRACEMASK
	.comm	_EIEIO,8,3                      ; @EIEIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't modify tracing state for pid %d: %s"

l_.str.1:                               ; @.str.1
	.asciz	"No signal thread"

.subsections_via_symbols
