	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_cfg_sel_endianness
_fw_cfg_sel_endianness:                 ## @fw_cfg_sel_endianness
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_fw_cfg_is_mmio@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_fw_cfg_reg_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_2
## %bb.1:
	popq	%rbp
	jmp	_iowrite16be                    ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_iowrite16                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_cfg_is_mmio,8,3             ## @fw_cfg_is_mmio
	.comm	_fw_cfg_reg_ctrl,4,2            ## @fw_cfg_reg_ctrl
	.no_dead_strip	_fw_cfg_sel_endianness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_cfg_sel_endianness
_fw_cfg_sel_endianness:                 ; @fw_cfg_sel_endianness
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _fw_cfg_is_mmio@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fw_cfg_is_mmio@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _fw_cfg_reg_ctrl@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fw_cfg_reg_ctrl@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	b	_iowrite16be
LBB0_2:
	b	_iowrite16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_cfg_is_mmio,8,3             ; @fw_cfg_is_mmio
	.comm	_fw_cfg_reg_ctrl,4,2            ; @fw_cfg_reg_ctrl
	.no_dead_strip	_fw_cfg_sel_endianness
.subsections_via_symbols
