	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_thread_signal_cmd
_fbsd_thread_signal_cmd:                ## @fbsd_thread_signal_cmd
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_fbsd_thread_active@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	_inferior_ptid@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_IS_THREAD
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movq	_thread_agent@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_GET_THREAD
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_td_ta_map_id2thr_p
	movq	_TD_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.3:
	leaq	-20(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_td_thr_get_info_p
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.4:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	leaq	-28(%rbp), %rdi
	callq	_fbsd_print_sigset
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	leaq	-32(%rbp), %rdi
	callq	_fbsd_print_sigset
	movq	-72(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.5:
	movq	-64(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf_filtered
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	movl	-56(%rbp), %edx
	leal	-128(%rdx), %eax
	cmpl	$6, %eax
	ja	LBB0_8
## %bb.9:
	cltq
	leaq	l_reltable.fbsd_thread_signal_cmd(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.12(%rip), %rsi
LBB0_10:
	movl	-40(%rbp), %ecx
	movl	-44(%rbp), %r8d
	movl	-52(%rbp), %eax
	movl	-48(%rbp), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str.13(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_printf_filtered
LBB0_11:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fbsd_thread_active,4,2         ## @fbsd_thread_active
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_thread_agent,4,2               ## @thread_agent
	.comm	_TD_OK,8,3                      ## @TD_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"signal mask:\n"

L_.str.1:                               ## @.str.1
	.asciz	"signal pending:\n"

L_.str.2:                               ## @.str.2
	.asciz	"si_signo %d si_errno %d"

L_.str.3:                               ## @.str.3
	.asciz	" (%s)"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

L_.str.5:                               ## @.str.5
	.asciz	"NOINFO"

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

L_.str.7:                               ## @.str.7
	.asciz	"QUEUE"

L_.str.8:                               ## @.str.8
	.asciz	"TIMER"

L_.str.9:                               ## @.str.9
	.asciz	"ASYNCIO"

L_.str.10:                              ## @.str.10
	.asciz	"MESGQ"

L_.str.11:                              ## @.str.11
	.asciz	"KERNEL"

L_.str.12:                              ## @.str.12
	.asciz	"UNKNOWN"

L_.str.13:                              ## @.str.13
	.asciz	"si_code %s (%d) si_pid %d si_uid %d si_status %x si_addr %p\n"

	.no_dead_strip	_fbsd_thread_signal_cmd
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.fbsd_thread_signal_cmd
l_reltable.fbsd_thread_signal_cmd:
	.long	L_.str.6-l_reltable.fbsd_thread_signal_cmd
	.long	L_.str.8-l_reltable.fbsd_thread_signal_cmd
	.long	L_.str.7-l_reltable.fbsd_thread_signal_cmd
	.long	L_.str.5-l_reltable.fbsd_thread_signal_cmd
	.long	L_.str.10-l_reltable.fbsd_thread_signal_cmd
	.long	L_.str.11-l_reltable.fbsd_thread_signal_cmd
	.long	L_.str.9-l_reltable.fbsd_thread_signal_cmd

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_thread_signal_cmd
_fbsd_thread_signal_cmd:                ; @fbsd_thread_signal_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _fbsd_thread_active@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fbsd_thread_active@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.1:
Lloh3:
	adrp	x20, _inferior_ptid@GOTPAGE
Lloh4:
	ldr	x20, [x20, _inferior_ptid@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_IS_THREAD
	cbz	w0, LBB0_11
; %bb.2:
Lloh5:
	adrp	x8, _thread_agent@GOTPAGE
Lloh6:
	ldr	x8, [x8, _thread_agent@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	ldr	w0, [x20]
	bl	_GET_THREAD
	mov	x1, x0
	sub	x2, x29, #20
	mov	x0, x19
	bl	_td_ta_map_id2thr_p
Lloh8:
	adrp	x20, _TD_OK@GOTPAGE
Lloh9:
	ldr	x20, [x20, _TD_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.3:
	add	x19, sp, #56
	sub	x0, x29, #20
	add	x1, sp, #56
	bl	_td_thr_get_info_p
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf_filtered
	add	x0, x19, #44
	bl	_fbsd_print_sigset
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf_filtered
	add	x0, x19, #40
	bl	_fbsd_print_sigset
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_11
; %bb.5:
	ldr	x9, [sp, #64]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf_filtered
	ldr	x0, [sp, #64]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf_filtered
LBB0_7:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf_filtered
	ldr	w8, [sp, #72]
	sub	w9, w8, #128
	cmp	w9, #6
	b.hi	LBB0_9
; %bb.8:
Lloh20:
	adrp	x10, l_switch.table.fbsd_thread_signal_cmd@PAGE
Lloh21:
	add	x10, x10, l_switch.table.fbsd_thread_signal_cmd@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	b	LBB0_10
LBB0_9:
Lloh22:
	adrp	x9, l_.str.12@PAGE
Lloh23:
	add	x9, x9, l_.str.12@PAGEOFF
LBB0_10:
	ldp	w11, w10, [sp, #84]
	ldp	w13, w12, [sp, #76]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x9, x8, [sp]
Lloh24:
	adrp	x0, l_.str.13@PAGE
Lloh25:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_printf_filtered
LBB0_11:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_fbsd_thread_active,4,2         ; @fbsd_thread_active
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_thread_agent,4,2               ; @thread_agent
	.comm	_TD_OK,8,3                      ; @TD_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"signal mask:\n"

l_.str.1:                               ; @.str.1
	.asciz	"signal pending:\n"

l_.str.2:                               ; @.str.2
	.asciz	"si_signo %d si_errno %d"

l_.str.3:                               ; @.str.3
	.asciz	" (%s)"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

l_.str.5:                               ; @.str.5
	.asciz	"NOINFO"

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

l_.str.7:                               ; @.str.7
	.asciz	"QUEUE"

l_.str.8:                               ; @.str.8
	.asciz	"TIMER"

l_.str.9:                               ; @.str.9
	.asciz	"ASYNCIO"

l_.str.10:                              ; @.str.10
	.asciz	"MESGQ"

l_.str.11:                              ; @.str.11
	.asciz	"KERNEL"

l_.str.12:                              ; @.str.12
	.asciz	"UNKNOWN"

l_.str.13:                              ; @.str.13
	.asciz	"si_code %s (%d) si_pid %d si_uid %d si_status %x si_addr %p\n"

	.no_dead_strip	_fbsd_thread_signal_cmd
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.fbsd_thread_signal_cmd
l_switch.table.fbsd_thread_signal_cmd:
	.quad	l_.str.6
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.5
	.quad	l_.str.10
	.quad	l_.str.11
	.quad	l_.str.9

.subsections_via_symbols
