	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_steal_exc_ports            ## -- Begin function inf_steal_exc_ports
	.p2align	4, 0x90
_inf_steal_exc_ports:                   ## @inf_steal_exc_ports
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_inf_debug
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_inf_set_step_thread
	movq	16(%rbx), %rdi
	movl	8(%rbx), %esi
	callq	_proc_steal_exc_port
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	_MACH_PORT_NULL@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_proc_steal_exc_port
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stealing exception ports"

	.comm	_MACH_PORT_NULL,4,2             ## @MACH_PORT_NULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_steal_exc_ports            ; -- Begin function inf_steal_exc_ports
	.p2align	2
_inf_steal_exc_ports:                   ; @inf_steal_exc_ports
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_inf_debug
	mov	x0, x19
	mov	w1, #0
	bl	_inf_set_step_thread
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #8]
	bl	_proc_steal_exc_port
	ldr	x19, [x19]
	cbz	x19, LBB0_3
; %bb.1:
Lloh2:
	adrp	x20, _MACH_PORT_NULL@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MACH_PORT_NULL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	bl	_proc_steal_exc_port
	ldr	x19, [x19]
	cbnz	x19, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stealing exception ports"

	.comm	_MACH_PORT_NULL,4,2             ; @MACH_PORT_NULL
.subsections_via_symbols
