	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smfi_main                      ## -- Begin function smfi_main
	.p2align	4, 0x90
_smfi_main:                             ## @smfi_main
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_conn@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.1:
	movq	_mi_clean_signals@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_atexit
	movq	_smfi@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_mi_control_startup
	movq	_MI_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_MI_MONITOR_INIT
	movl	%eax, %ebx
	movq	(%r14), %rdi
	movq	_dbg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_backlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_mi_listener
	cmpq	(%r15), %rax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movq	_SMI_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_smfi@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	movq	_SMI_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	callq	_smi_log
LBB0_6:
	movq	_MI_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_conn,8,3                       ## @conn
	.comm	_SMI_LOG_FATAL,4,2              ## @SMI_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: missing connection information"

	.comm	_smfi,8,3                       ## @smfi
	.comm	_MI_FAILURE,4,2                 ## @MI_FAILURE
	.comm	_mi_clean_signals,4,2           ## @mi_clean_signals
	.comm	_MI_SUCCESS,8,3                 ## @MI_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"%s: Couldn't start signal thread"

	.comm	_dbg,4,2                        ## @dbg
	.comm	_timeout,4,2                    ## @timeout
	.comm	_backlog,4,2                    ## @backlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smfi_main                      ; -- Begin function smfi_main
	.p2align	2
_smfi_main:                             ; @smfi_main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
Lloh6:
	adrp	x20, _conn@GOTPAGE
Lloh7:
	ldr	x20, [x20, _conn@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _mi_clean_signals@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mi_clean_signals@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_atexit
Lloh11:
	adrp	x22, _smfi@GOTPAGE
Lloh12:
	ldr	x22, [x22, _smfi@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_mi_control_startup
Lloh13:
	adrp	x21, _MI_SUCCESS@GOTPAGE
Lloh14:
	ldr	x21, [x21, _MI_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	bl	_MI_MONITOR_INIT
	mov	x19, x0
	ldr	x0, [x20]
Lloh15:
	adrp	x8, _dbg@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dbg@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x2, [x22]
Lloh18:
	adrp	x8, _timeout@GOTPAGE
Lloh19:
	ldr	x8, [x8, _timeout@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _backlog@GOTPAGE
Lloh22:
	ldr	x8, [x8, _backlog@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	bl	_mi_listener
	ldr	x8, [x21]
Lloh24:
	adrp	x9, _MI_FAILURE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MI_FAILURE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	x0, x8
	csel	w0, w19, w9, eq
	b	LBB0_6
LBB0_3:
Lloh27:
	adrp	x8, _SMI_LOG_FATAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SMI_LOG_FATAL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _smfi@GOTPAGE
Lloh31:
	ldr	x8, [x8, _smfi@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	w2, [x8]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh35:
	adrp	x8, _SMI_LOG_FATAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SMI_LOG_FATAL@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	x8, [x22]
	ldr	w2, [x8]
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	bl	_smi_log
Lloh40:
	adrp	x8, _MI_FAILURE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MI_FAILURE@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_conn,8,3                       ; @conn
	.comm	_SMI_LOG_FATAL,4,2              ; @SMI_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: missing connection information"

	.comm	_smfi,8,3                       ; @smfi
	.comm	_MI_FAILURE,4,2                 ; @MI_FAILURE
	.comm	_mi_clean_signals,4,2           ; @mi_clean_signals
	.comm	_MI_SUCCESS,8,3                 ; @MI_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"%s: Couldn't start signal thread"

	.comm	_dbg,4,2                        ; @dbg
	.comm	_timeout,4,2                    ; @timeout
	.comm	_backlog,4,2                    ; @backlog
.subsections_via_symbols
