	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_def_library                    ## -- Begin function def_library
	.p2align	4, 0x90
_def_library:                           ## @def_library
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_inform
	movq	_d_is_exe@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_non_fatal
LBB0_2:
	movq	_dll_name@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_set_dll_name_from_def
LBB0_4:
	movq	_d_is_dll@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LIBRARY: %s base: %x"

	.comm	_d_is_exe,8,3                   ## @d_is_exe
L_.str.1:                               ## @.str.1
	.asciz	"Can't have LIBRARY and NAME"

	.comm	_dll_name,4,2                   ## @dll_name
	.comm	_d_is_dll,4,2                   ## @d_is_dll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_def_library                    ; -- Begin function def_library
	.p2align	2
_def_library:                           ; @def_library
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	mov	x2, x20
	bl	_inform
Lloh2:
	adrp	x8, _d_is_exe@GOTPAGE
Lloh3:
	ldr	x8, [x8, _d_is_exe@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_non_fatal
LBB0_2:
Lloh7:
	adrp	x8, _dll_name@GOTPAGE
Lloh8:
	ldr	x8, [x8, _dll_name@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_set_dll_name_from_def
LBB0_4:
Lloh10:
	adrp	x8, _d_is_dll@GOTPAGE
Lloh11:
	ldr	x8, [x8, _d_is_dll@GOTPAGEOFF]
	mov	w9, #1
Lloh12:
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LIBRARY: %s base: %x"

	.comm	_d_is_exe,8,3                   ; @d_is_exe
l_.str.1:                               ; @.str.1
	.asciz	"Can't have LIBRARY and NAME"

	.comm	_dll_name,4,2                   ; @dll_name
	.comm	_d_is_dll,4,2                   ; @d_is_dll
.subsections_via_symbols
