	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_busdma_tag_derive              ## -- Begin function busdma_tag_derive
	.p2align	4, 0x90
_busdma_tag_derive:                     ## @busdma_tag_derive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	16(%rbp), %r10d
	movl	24(%rbp), %r11d
	movl	32(%rbp), %eax
	subq	$8, %rsp
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_bd_tag_derive
	addq	$32, %rsp
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	40(%rbp), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_busdma_tag_derive              ; -- Begin function busdma_tag_derive
	.p2align	2
_busdma_tag_derive:                     ; @busdma_tag_derive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w8, [x29, #16]
	str	w8, [sp]
	bl	_bd_tag_derive
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x29, #24]
	str	w8, [x9]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
