	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bios_addsmapdata               ## -- Begin function bios_addsmapdata
	.p2align	4, 0x90
_bios_addsmapdata:                      ## @bios_addsmapdata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_smapbase@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	_smaplen@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movslq	%eax, %rdx
	shlq	$2, %rdx
	movq	_MODINFOMD_SMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_file_addmetadata
	movq	_smapattr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movslq	(%r14), %rdx
	shlq	$2, %rdx
	movq	_MODINFOMD_SMAP_XATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_file_addmetadata               ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smapbase,8,3                   ## @smapbase
	.comm	_smaplen,4,2                    ## @smaplen
	.comm	_MODINFOMD_SMAP,4,2             ## @MODINFOMD_SMAP
	.comm	_smapattr,8,3                   ## @smapattr
	.comm	_MODINFOMD_SMAP_XATTR,4,2       ## @MODINFOMD_SMAP_XATTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bios_addsmapdata               ; -- Begin function bios_addsmapdata
	.p2align	2
_bios_addsmapdata:                      ; @bios_addsmapdata
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _smapbase@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smapbase@GOTPAGEOFF]
Lloh2:
	ldr	x3, [x8]
Lloh3:
	adrp	x20, _smaplen@GOTPAGE
Lloh4:
	ldr	x20, [x20, _smaplen@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	x3, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	sxtw	x8, w8
	lsl	x2, x8, #2
Lloh5:
	adrp	x8, _MODINFOMD_SMAP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MODINFOMD_SMAP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_file_addmetadata
Lloh8:
	adrp	x8, _smapattr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _smapattr@GOTPAGEOFF]
Lloh10:
	ldr	x3, [x8]
	cbz	x3, LBB0_3
; %bb.2:
	ldrsw	x8, [x20]
Lloh11:
	adrp	x9, _MODINFOMD_SMAP_XATTR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MODINFOMD_SMAP_XATTR@GOTPAGEOFF]
	lsl	x2, x8, #2
Lloh13:
	ldr	w1, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_file_addmetadata
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_smapbase,8,3                   ; @smapbase
	.comm	_smaplen,4,2                    ; @smaplen
	.comm	_MODINFOMD_SMAP,4,2             ; @MODINFOMD_SMAP
	.comm	_smapattr,8,3                   ; @smapattr
	.comm	_MODINFOMD_SMAP_XATTR,4,2       ; @MODINFOMD_SMAP_XATTR
.subsections_via_symbols
