	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_set_format                 ## -- Begin function bfd_set_format
	.p2align	4, 0x90
_bfd_set_format:                        ## @bfd_set_format
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_bfd_read_p
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rcx
	movq	_bfd_type_end@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jae	LBB0_5
## %bb.2:
	movq	_bfd_unknown@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	jne	LBB0_9
## %bb.3:
	movq	%r14, (%rbx)
	movq	__bfd_set_format@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_BFD_SEND_FMT
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	sete	%al
	jmp	LBB0_8
LBB0_10:
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_type_end,8,3               ## @bfd_type_end
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_bfd_unknown,8,3                ## @bfd_unknown
	.comm	__bfd_set_format,4,2            ## @_bfd_set_format
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_set_format                 ; -- Begin function bfd_set_format
	.p2align	2
_bfd_set_format:                        ; @bfd_set_format
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_bfd_read_p
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _bfd_type_end@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_type_end@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_5
; %bb.2:
Lloh3:
	adrp	x21, _bfd_unknown@GOTPAGE
Lloh4:
	ldr	x21, [x21, _bfd_unknown@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	str	x20, [x19]
Lloh5:
	adrp	x8, __bfd_set_format@GOTPAGE
Lloh6:
	ldr	x8, [x8, __bfd_set_format@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x19
	bl	_BFD_SEND_FMT
	cbz	w0, LBB0_10
; %bb.4:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _bfd_error_invalid_operation@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bfd_error_invalid_operation@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_6:
Lloh13:
	adrp	x8, _FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	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
LBB0_9:
	cmp	x8, x20
	cset	w0, eq
	b	LBB0_8
LBB0_10:
	ldr	x8, [x21]
	str	x8, [x19]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_type_end,8,3               ; @bfd_type_end
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_bfd_unknown,8,3                ; @bfd_unknown
	.comm	__bfd_set_format,4,2            ; @_bfd_set_format
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
