	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_bind_sublabel_subsystem_load
_action_bind_sublabel_subsystem_load:   ## @action_bind_sublabel_subsystem_load
	.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
	pushq	%rax
	movl	$4104, %eax                     ## imm = 0x1008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, -4144(%rbp)
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %r15
	leaq	-4144(%rbp), %r13
	leaq	L_.str.1(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	cmpl	%eax, %ebx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	movl	%ebx, %edi
	callq	_content_get_subsystem_rom
	movl	%eax, %edi
	callq	_path_basename
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	decl	%eax
	cmpl	%eax, %ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_strlcat
	jmp	LBB0_4
LBB0_5:
	leaq	-4144(%rbp), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	16(%rbp), %rdx
	leaq	-4144(%rbp), %rsi
	movq	%r14, %rdi
	callq	_strlcpy
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	addq	$4104, %rsp                     ## imm = 0x1008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"   "

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

	.no_dead_strip	_action_bind_sublabel_subsystem_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_bind_sublabel_subsystem_load
_action_bind_sublabel_subsystem_load:   ; @action_bind_sublabel_subsystem_load
	.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	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x19, x6
	mov	x20, x5
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	strb	wzr, [sp, #8]
	bl	_content_get_subsystem_rom_id
	cbz	w0, LBB0_5
; %bb.1:
	mov	w21, #0
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
Lloh7:
	adrp	x23, l_.str.1@PAGE
Lloh8:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	bl	_content_get_subsystem_rom_id
	cmp	w21, w0
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #4096
	bl	_strlcat
	mov	x0, x21
	bl	_content_get_subsystem_rom
	bl	_path_basename
	mov	x1, x0
	add	x0, sp, #8
	mov	w2, #4096
	bl	_strlcat
	bl	_content_get_subsystem_rom_id
	sub	w8, w0, #1
	cmp	w21, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	mov	x1, x23
	mov	w2, #4096
	bl	_strlcat
	b	LBB0_2
LBB0_5:
	add	x0, sp, #8
	bl	_string_is_empty
	cbnz	w0, LBB0_7
; %bb.6:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	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
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"   "

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

	.no_dead_strip	_action_bind_sublabel_subsystem_load
.subsections_via_symbols
