	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehca_set_pagebuf               ## -- Begin function ehca_set_pagebuf
	.p2align	4, 0x90
_ehca_set_pagebuf:                      ## @ehca_set_pagebuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.3:
	popq	%rbp
	jmp	_ehca_set_pagebuf_phys          ## TAILCALL
LBB0_6:
	popq	%rbp
	jmp	_ehca_set_pagebuf_fmr           ## TAILCALL
LBB0_4:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	4(%rdi), %eax
	jge	LBB0_8
## %bb.5:
	popq	%rbp
	jmp	_ehca_set_pagebuf_user2         ## TAILCALL
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_ehca_gen_err
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	popq	%rbp
	jmp	_ehca_set_pagebuf_user1         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad pginfo->type=%x"

	.comm	_EFAULT,4,2                     ## @EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehca_set_pagebuf               ; -- Begin function ehca_set_pagebuf
	.p2align	2
_ehca_set_pagebuf:                      ; @ehca_set_pagebuf
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ehca_set_pagebuf_phys
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ehca_set_pagebuf_fmr
LBB0_5:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ehca_set_pagebuf_user2
LBB0_7:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_ehca_gen_err
Lloh5:
	adrp	x8, _EFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ehca_set_pagebuf_user1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad pginfo->type=%x"

	.comm	_EFAULT,4,2                     ; @EFAULT
.subsections_via_symbols
