	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pe_load_builtin_module         ## -- Begin function pe_load_builtin_module
	.p2align	4, 0x90
_pe_load_builtin_module:                ## @pe_load_builtin_module
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r12
	cmpq	$0, 8(%rdi)
	je	LBB0_8
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	(%r12), %edi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_pe_load_nt_header
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	testq	%r14, %r14
	jne	LBB0_5
## %bb.4:
	movq	-48(%rbp), %r14
LBB0_5:
	movq	_DMT_PE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movl	-40(%rbp), %r10d
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %r8
	movq	%r14, %r9
	pushq	%rax
	pushq	%r10
	callq	_module_new
	addq	$16, %rsp
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMT_PE,4,2                     ## @DMT_PE
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pe_load_builtin_module         ; -- Begin function pe_load_builtin_module
	.p2align	2
_pe_load_builtin_module:                ; @pe_load_builtin_module
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x2, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	x1, x19
	bl	_pe_load_nt_header
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [sp, #16]
	cmp	x22, #0
	csel	x5, x8, x22, eq
Lloh0:
	adrp	x8, _DMT_PE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMT_PE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	w6, [sp, #24]
	ldr	w7, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	bl	_module_new
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMT_PE,4,2                     ; @DMT_PE
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
