	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_io_32bit
_set_io_32bit:                          ## @set_io_32bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IDE_DFLAG_NO_IO_32BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	testl	%esi, %esi
	js	LBB0_5
## %bb.4:
	movq	_SUPPORT_VLB_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	incl	%eax
	cmpl	%esi, %eax
	jge	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movl	%esi, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_DFLAG_NO_IO_32BIT,4,2      ## @IDE_DFLAG_NO_IO_32BIT
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_SUPPORT_VLB_SYNC,4,2           ## @SUPPORT_VLB_SYNC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_set_io_32bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_io_32bit
_set_io_32bit:                          ; @set_io_32bit
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IDE_DFLAG_NO_IO_32BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDE_DFLAG_NO_IO_32BIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EPERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	tbnz	w1, #31, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _SUPPORT_VLB_SYNC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUPPORT_VLB_SYNC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #1
	bfi	w9, w8, #1, #31
	cmp	w9, w1
	b.ge	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	str	w1, [x0, #4]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_DFLAG_NO_IO_32BIT,4,2      ; @IDE_DFLAG_NO_IO_32BIT
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_SUPPORT_VLB_SYNC,4,2           ; @SUPPORT_VLB_SYNC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_set_io_32bit
.subsections_via_symbols
