	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_template
_set_template:                          ## @set_template
	.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
	movl	%edi, -4(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-4(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$4, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	-4(%rbp), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.usb.template"

L_.str.1:                               ## @.str.1
	.asciz	"WARNING: Could not set USB template to %d (error=%d)\n"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_set_template
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_template
_set_template:                          ; @set_template
	.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
	stur	w0, [x29, #-4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	sub	x3, x29, #4
	mov	x1, #0
	mov	x2, #0
	mov	w4, #4
	bl	_sysctlbyname
	cbz	w0, LBB0_2
; %bb.1:
	ldur	w1, [x29, #-4]
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.usb.template"

l_.str.1:                               ; @.str.1
	.asciz	"WARNING: Could not set USB template to %d (error=%d)\n"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_set_template
.subsections_via_symbols
