	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i386_coff_osabi_sniffer
_i386_coff_osabi_sniffer:               ## @i386_coff_osabi_sniffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_bfd_get_target
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_bfd_get_target
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	_GDB_OSABI_GO32@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_GDB_OSABI_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"coff-go32-exe"

L_.str.1:                               ## @.str.1
	.asciz	"coff-go32"

	.comm	_GDB_OSABI_GO32,4,2             ## @GDB_OSABI_GO32
	.comm	_GDB_OSABI_UNKNOWN,4,2          ## @GDB_OSABI_UNKNOWN
	.no_dead_strip	_i386_coff_osabi_sniffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i386_coff_osabi_sniffer
_i386_coff_osabi_sniffer:               ; @i386_coff_osabi_sniffer
	.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	x19, x0
	bl	_bfd_get_target
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
Lloh2:
	adrp	x20, _GDB_OSABI_GO32@GOTPAGE
Lloh3:
	ldr	x20, [x20, _GDB_OSABI_GO32@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_bfd_get_target
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
Lloh6:
	adrp	x8, _GDB_OSABI_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GDB_OSABI_UNKNOWN@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x20, x8, eq
LBB0_2:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"coff-go32-exe"

l_.str.1:                               ; @.str.1
	.asciz	"coff-go32"

	.comm	_GDB_OSABI_GO32,4,2             ; @GDB_OSABI_GO32
	.comm	_GDB_OSABI_UNKNOWN,4,2          ; @GDB_OSABI_UNKNOWN
	.no_dead_strip	_i386_coff_osabi_sniffer
.subsections_via_symbols
