	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_emit_hunk_hdr              ## -- Begin function xdl_emit_hunk_hdr
	.p2align	4, 0x90
_xdl_emit_hunk_hdr:                     ## @xdl_emit_hunk_hdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%r8, %r10
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	16(%rbp), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$1, %rdx
	sbbq	$0, %rsi
	movl	8(%rdi), %edi
	cmpq	$1, %r8
	sbbq	$0, %rcx
	movq	%r9, (%rsp)
	movq	%r10, %r9
	callq	*%rax
	sarq	$63, %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	movq	%r10, %r8
	addq	$16, %rsp
	popq	%rbp
	jmp	_xdl_format_hunk_hdr            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_emit_hunk_hdr              ; -- Begin function xdl_emit_hunk_hdr
	.p2align	2
_xdl_emit_hunk_hdr:                     ; @xdl_emit_hunk_hdr
	.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
	mov	x9, x5
	mov	x5, x4
	mov	x4, x3
	mov	x8, x1
	ldr	x11, [x6]
	cbz	x11, LBB0_2
; %bb.1:
	ldr	w10, [x6, #8]
	cmp	x8, #0
	cset	w12, eq
	sub	x1, x0, x12
	cmp	x4, #0
	cset	w12, eq
	sub	x3, x2, x12
	mov	x0, x10
	mov	x2, x8
	mov	x6, x9
	blr	x11
	asr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x1, x8
	mov	x3, x4
	mov	x4, x5
	mov	x5, x9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_xdl_format_hunk_hdr
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
